Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://blog.our-files.com/feed/

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. >
  9.  
  10. <channel>
  11. <title>Our-files.com &#8211; Nathans&#039; Rants</title>
  12. <atom:link href="http://blog.our-files.com/feed/" rel="self" type="application/rss+xml" />
  13. <link>http://blog.our-files.com</link>
  14. <description>Rants and Randomness, Mishaps and Misconceptions, and other wierd things</description>
  15. <lastBuildDate>Mon, 01 Jan 2018 22:30:09 +0000</lastBuildDate>
  16. <language>en-US</language>
  17. <sy:updatePeriod>hourly</sy:updatePeriod>
  18. <sy:updateFrequency>1</sy:updateFrequency>
  19. <generator>https://wordpress.org/?v=4.9.1</generator>
  20. <item>
  21. <title>SQL Server &#8211; Find characters in fields</title>
  22. <link>http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/</link>
  23. <comments>http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/#respond</comments>
  24. <pubDate>Mon, 01 Jan 2018 22:03:01 +0000</pubDate>
  25. <dc:creator><![CDATA[Internat]]></dc:creator>
  26. <category><![CDATA[SQL]]></category>
  27. <category><![CDATA[SQL Server]]></category>
  28.  
  29. <guid isPermaLink="false">http://blog.our-files.com/?p=39</guid>
  30. <description><![CDATA[Credit to Source]]></description>
  31. <content:encoded><![CDATA[<pre class="brush: sql; title: ; notranslate">
  32. DECLARE @counter int = 1;
  33. DECLARE @colString varchar(10) = 'AA%#&amp;    ';
  34.  
  35. WHILE @counter &lt;= DATALENGTH(@colString)
  36.   BEGIN
  37.   SELECT CHAR(ASCII(SUBSTRING(@colString, @counter, 1))) as [Character],
  38.   ASCII(SUBSTRING(@colString, @counter, 1)) as [ASCIIValue]
  39.    
  40.   SET @counter = @counter + 1
  41.   END
  42. GO
  43. </pre>
  44. <p>Credit to <a href="http://www.sqlservercurry.com/2009/09/how-to-find-ascii-value-of-each.html">Source</a></p>
  45. ]]></content:encoded>
  46. <wfw:commentRss>http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/feed/</wfw:commentRss>
  47. <slash:comments>0</slash:comments>
  48. </item>
  49. <item>
  50. <title>NFSv4 and IDMAP caching</title>
  51. <link>http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/</link>
  52. <comments>http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/#comments</comments>
  53. <pubDate>Mon, 26 May 2014 21:02:49 +0000</pubDate>
  54. <dc:creator><![CDATA[Internat]]></dc:creator>
  55. <category><![CDATA[Uncategorized]]></category>
  56.  
  57. <guid isPermaLink="false">http://blog.our-files.com/?p=35</guid>
  58. <description><![CDATA[NFSV4 does id comparisions, eg user and uid must be the same across hosts or it will automaticly map the file to owner nobody. This can be changed through configuration files and the like. Easy win is to make sure both boxes are part of the same DNS domain in /etc/idmapd.conf you want domain = [&#8230;]]]></description>
  59. <content:encoded><![CDATA[<p>NFSV4 does id comparisions, eg user and uid must be the same across hosts or it will automaticly map the file to owner nobody. This can be changed through configuration files and the like.</p>
  60. <p>Easy win is to make sure both boxes are part of the same DNS domain in /etc/idmapd.conf you want domain = domain.com if dns resolution is flaky.</p>
  61. <p>But i found a big pain was that i fixed the mismatched UID&#8217;s and i could not get it to accept the update.</p>
  62. <p>I restarted NFS countless times, remounted the mount countless times and so on. </p>
  63. <p>Of course nfs does some form of caching that isnt cleared by a restart</p>
  64. <p>To clear the cache<br />
  65. <code>nfsidmap -c</code></p>
  66. ]]></content:encoded>
  67. <wfw:commentRss>http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/feed/</wfw:commentRss>
  68. <slash:comments>2</slash:comments>
  69. </item>
  70. <item>
  71. <title>GAWK script for some work funkyness</title>
  72. <link>http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/</link>
  73. <comments>http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/#comments</comments>
  74. <pubDate>Mon, 26 May 2014 21:00:29 +0000</pubDate>
  75. <dc:creator><![CDATA[Internat]]></dc:creator>
  76. <category><![CDATA[Bash]]></category>
  77. <category><![CDATA[Uncategorized]]></category>
  78.  
  79. <guid isPermaLink="false">http://blog.our-files.com/?p=25</guid>
  80. <description><![CDATA[gawk &#8216;{if(~ /\.tar/){lasttar=}; if(~ /^filenamehere\.jpg$/){print lasttar; exit;}}&#8217; < internat.txt]]></description>
  81. <content:encoded><![CDATA[<p>gawk &#8216;{if(~ /\.tar/){lasttar=}; if(~ /^filenamehere\.jpg$/){print lasttar; exit;}}&#8217; < internat.txt
  82. </p>
  83. ]]></content:encoded>
  84. <wfw:commentRss>http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/feed/</wfw:commentRss>
  85. <slash:comments>1</slash:comments>
  86. </item>
  87. <item>
  88. <title>solar monitoring stuff</title>
  89. <link>http://blog.our-files.com/2012/10/solar-monitoring-stuff/</link>
  90. <comments>http://blog.our-files.com/2012/10/solar-monitoring-stuff/#respond</comments>
  91. <pubDate>Tue, 23 Oct 2012 07:15:36 +0000</pubDate>
  92. <dc:creator><![CDATA[Internat]]></dc:creator>
  93. <category><![CDATA[Bash]]></category>
  94. <category><![CDATA[Debian]]></category>
  95. <category><![CDATA[Linux]]></category>
  96.  
  97. <guid isPermaLink="false">http://blog.our-files.com/?p=29</guid>
  98. <description><![CDATA[I cant take any credit for this script, I took the orginal from the solar.js.cx page and changed it to meet my requirements. Here is my version]]></description>
  99. <content:encoded><![CDATA[<p>I cant take any credit for this script, I took the orginal from the solar.js.cx page and changed it to meet my requirements.<br />
  100. Here is my version</p>
  101. <pre class="brush: bash; title: ; notranslate">
  102. #!/usr/bin/perl
  103. ############################################
  104. ## This software is licensed under the LGPL.
  105. ## Visit http://solar.js.cx for more info.
  106. ############################################
  107. use Device::SerialPort;
  108. use LWP::UserAgent;
  109. use Time::Local;
  110. use HTTP::Status qw(:constants :is status_message);
  111. $debug = 0;
  112. $submit = 1;
  113. $serial_port = &quot;/dev/ttyr00&quot;;
  114. $pvoutput_api =&quot;&lt;apikeyhere&gt;&quot;;
  115. $pvoutport_systemid = &quot;&lt;systemkeyhere&gt;&quot;;
  116.  
  117. $serial_lock = &quot;/tmp/ttyr00.lock&quot;;
  118.  
  119. ## Wait until unlocked
  120. while (-e $serial_lock)
  121. {
  122.  sleep (1);
  123. }
  124. $serial_port = new Device::SerialPort ($serial_port, &quot;&quot;, $serial_lock);
  125.  
  126. $serial_port-&gt;baudrate(9600) || die &quot;failed setting baudrate&quot;;
  127. $serial_port-&gt;parity(&quot;none&quot;) || die &quot;failed setting parity&quot;;
  128. $serial_port-&gt;databits(8) || die &quot;failed setting databits&quot;;
  129. $serial_port-&gt;handshake(&quot;none&quot;) || die &quot;failed setting handshake&quot;;
  130. $serial_port-&gt;write_settings || die &quot;no settings&quot;;
  131.  
  132. ## Might need to tweak this if data is truncated.
  133. $serial_port-&gt;read_const_time(40);
  134.  
  135. $serial_port-&gt;write(&quot;INV?\r&quot;);
  136. ($count, $xantrex_status) = $serial_port-&gt;read(255);
  137. $serial_port-&gt;write(&quot;KWHTODAY?\r&quot;);
  138. ($count, $xantrex_kwhtoday) = $serial_port-&gt;read(255);
  139. $serial_port-&gt;write(&quot;TIME?\r&quot;);
  140. ($count, $xantrex_time) = $serial_port-&gt;read(255);
  141. $serial_port-&gt;write(&quot;POUT?\r&quot;);
  142. ($count, $xantrex_pout) = $serial_port-&gt;read(255);
  143.  
  144. $serial_port-&gt;close || warn &quot;close failed&quot;;
  145.  
  146. $xantrex_wtoday =  $xantrex_kwhtoday * 1000;
  147. #$time = timelocal($sec,$min,$hour,$mday,$mon,$year);
  148. my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
  149. $year += 1900;
  150. $mon += 1;
  151. $date = sprintf &quot;%04d%02d%02d&quot;, $year,$mon,$mday;
  152. $ptime = sprintf &quot;%02d:%02d&quot;, $hour, $min;
  153.  
  154. if ($debug == 1) {
  155. print &quot;Current date/time is: $date - $ptime\n&quot;;
  156. print &quot;Current inverter status is: $xantrex_status\n&quot;;
  157. print &quot;Total KWH today is: $xantrex_kwhtoday\n&quot;;
  158. print &quot;Total WH today is: $xantrex_wtoday\n&quot;;
  159. print &quot;Current output is: $xantrex_pout\n&quot;;
  160. }
  161. chomp($xantrex_status);
  162. my $length = length($xantrex_status);
  163. $length -=1;
  164. $status = substr $xantrex_status, 0, $length;
  165. if (($submit == 1)  &amp;&amp; ($status eq &quot;ON&quot;)) {
  166. if ($debug == 1) {
  167. print  &quot;Submitting data\n&quot;;
  168. }
  169. my $ua = new LWP::UserAgent;
  170. $ua-&gt;default_header( 'X-Pvoutput-Apikey' =&gt; $pvoutput_api, 'X-Pvoutput-SystemId' =&gt; $pvoutport_systemid );
  171.  
  172.  
  173. my $response
  174. = $ua-&gt;post('http://pvoutput.org/service/r2/addstatus.jsp',
  175. { 'v2' =&gt; $xantrex_pout,
  176. 'v1' =&gt; $xantrex_wtoday,
  177. 'd' =&gt; $date,
  178. 't' =&gt; $ptime
  179.  
  180. });
  181. my $content = $response-&gt;content;
  182. if ($debug == 1) {
  183. print &quot;$content\n&quot;;
  184. }
  185. if ($response-&gt;is_error) {
  186. print &quot;Error updating pvoutput.org $content\r\n&quot;;
  187. }
  188. }
  189. </pre>
  190. ]]></content:encoded>
  191. <wfw:commentRss>http://blog.our-files.com/2012/10/solar-monitoring-stuff/feed/</wfw:commentRss>
  192. <slash:comments>0</slash:comments>
  193. </item>
  194. <item>
  195. <title>format_mp3.so building for Asterisk 1.8.11 using packages.asterisk.org</title>
  196. <link>http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/</link>
  197. <comments>http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/#respond</comments>
  198. <pubDate>Wed, 18 Jul 2012 08:51:23 +0000</pubDate>
  199. <dc:creator><![CDATA[Internat]]></dc:creator>
  200. <category><![CDATA[Asterisk]]></category>
  201. <category><![CDATA[Debian]]></category>
  202. <category><![CDATA[Linux]]></category>
  203.  
  204. <guid isPermaLink="false">http://blog.our-files.com/?p=26</guid>
  205. <description><![CDATA[At $WORK2$ we had the express need to migrate from Asterisk 1.6 to 1.8. We are running Debian squeeze which only provides 1.6.9 as its stable version,which is fine, but when you have a bug that requires vendor support you get forced to upgrade. I didnt really want to rebuild packages from source (i hate [&#8230;]]]></description>
  206. <content:encoded><![CDATA[<p>At $WORK2$ we had the express need to migrate from Asterisk 1.6 to 1.8. We are running Debian squeeze which only provides 1.6.9 as its stable version,which is fine, but when you have a bug that requires vendor support you get forced to upgrade. I didnt really want to rebuild packages from source (i hate building from source on a package managed system).</p>
  207. <p>I discovered that asterisk provides its own debian/ubuntu repository for its packages which is awesome, so on our test box we quickly deployed it. And then during testing we ran into a snag. Namely that its next to impossible to find instructions on how to get the format_mp3.so module for mp3 support. In Debian its packaged with it, but due to some licensing who-ah asterisk doesnt ship them. i tried copying an older copy, and one out of the Debian squeeze repository but it wouldn&#8217;t load cause it was built with different compile time options.</p>
  208. <p>After much reading and playing arround, i worked out how to build that module.. ANd since it took me the better part of a night to work it out, heres how i did it  <img src="https://s.w.org/images/core/emoji/2.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  209. <p>Grab everything required to build the source for asterisk, some other libraries, the build tools, the actual source, and then configure it for our system.<br />
  210. <code><br />
  211. apt-get install build-essential<br />
  212. apt-get build-dep asterisk<br />
  213. apt-get install libncurses5-dev libncursesw5-dev libxml2-dev<br />
  214. cd /usr/src<br />
  215. apt-get source asterisk<br />
  216. cd asterisk-1.8.11.1<br />
  217. ./configure<br />
  218. make menuselect<br />
  219. </code><br />
  220. In the make menu select, go into addons, and tick off format_mp3 (i think x was save and exit)<br />
  221. <code><br />
  222. contrib/scripts/get_mp3_source.sh<br />
  223. </code><br />
  224. This goes and grabs out of SVN the latest mp3 stuff, this is done for the packaging stuff as mentioned above<br />
  225. <code><br />
  226. make addons<br />
  227. </code><br />
  228. Assuming your make addons ran without errors, its built the module.. to install it run:<br />
  229. <code>make addons-install</code><br />
  230. Now to restart asterisk<br />
  231. <code>/etc/init.d/asterisk restart</code><br />
  232. and finally to confirm it actually loaded<br />
  233. <code>asterisk -rx 'core show file formats'</code></p>
  234. <p>as long as mp3 is in your list, your golden!</p>
  235. ]]></content:encoded>
  236. <wfw:commentRss>http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/feed/</wfw:commentRss>
  237. <slash:comments>0</slash:comments>
  238. </item>
  239. <item>
  240. <title>SQL server log shipping over the interwebs with workgroup servers</title>
  241. <link>http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/</link>
  242. <comments>http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/#comments</comments>
  243. <pubDate>Sat, 11 Feb 2012 08:13:38 +0000</pubDate>
  244. <dc:creator><![CDATA[Internat]]></dc:creator>
  245. <category><![CDATA[Microsoft]]></category>
  246. <category><![CDATA[SQL Server]]></category>
  247.  
  248. <guid isPermaLink="false">http://blog.our-files.com/?p=23</guid>
  249. <description><![CDATA[Notes from when i set up log shipping over the internet.. to be padded out with real deatil later. Create vpn between servers (use remote access and routing, and create the other server as a peristant dial on demand route) Make user say &#8220;sqlserver_agent&#8221; on both servers, with same username and same password. Make directory [&#8230;]]]></description>
  250. <content:encoded><![CDATA[<p>Notes from when i set up log shipping over the internet.. to be padded out with real deatil later.</p>
  251. <p>Create vpn between servers (use remote access and routing, and create the other server as a peristant dial on demand route)</p>
  252. <p>Make user say &#8220;sqlserver_agent&#8221; on both servers, with same username and same password.<br />
  253. Make directory on primary server eg c:\database_logs<br />
  254. grant access to both &#8220;sqlserver_agent&#8221; and &#8220;network service&#8221;<br />
  255. share path on primary server. </p>
  256. <p>create log destination folder on secondary server eg &#8220;c:\database_restore_logs&#8221; make sure both &#8220;network service&#8221; and &#8220;sqlserver_agent&#8221; can read/write to it</p>
  257. <p>make sql server agent on both run servers with the same account as above.</p>
  258. <p>make sure database on primary server is in full mode.<br />
  259. back up database to share, and manually copy it across. manually restore it on the other site, but leave it in standby mode (had to do the manual copy since sqlserver.exe isnt running as the service account, and therefor couldnt access the network share where it was living on. only the agent could)</p>
  260. <p>use the wizard to create the jobs on both servers that do the restore.</p>
  261. <p>my wizard for some reason created the job with the wrong hostname and the sqllogship.exe command couldnt talk tot he server, so had to edit it from the wierd windows hostname that it had and change it to the ip of the host. using the correct hostname probably would have worked as we..</p>
  262. <p>the user &#8220;network service&#8221; has no access over the network to do fuck all. dont use it for trying to communicate to other hosts.. i tried enabling guest, adding network service to all the shares, enabling everyone, and a whole lot of other things.. just create a service account on both servers with the same details and that will work just fine!!</p>
  263. <p>used these sites for info<br />
  264. http://www.mssqltips.com/sqlservertip/2562/sql-server-log-shipping-to-a-different-domain-or-workgroup/<br />
  265. http://omaralzabir.com/how_to_setup_sql_server_2005_transaction_log_ship_on_large_database_that_really_works/</p>
  266. ]]></content:encoded>
  267. <wfw:commentRss>http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/feed/</wfw:commentRss>
  268. <slash:comments>2</slash:comments>
  269. </item>
  270. <item>
  271. <title>Encrypted FlatFile Volume</title>
  272. <link>http://blog.our-files.com/2011/10/encrypted-flatfile-volume/</link>
  273. <comments>http://blog.our-files.com/2011/10/encrypted-flatfile-volume/#respond</comments>
  274. <pubDate>Thu, 27 Oct 2011 05:22:35 +0000</pubDate>
  275. <dc:creator><![CDATA[Internat]]></dc:creator>
  276. <category><![CDATA[Bash]]></category>
  277. <category><![CDATA[Debian]]></category>
  278. <category><![CDATA[Linux]]></category>
  279.  
  280. <guid isPermaLink="false">http://blog.our-files.com/?p=19</guid>
  281. <description><![CDATA[I used to have an encrypted volume on my file server, for storing sensitive things, but after an upgrade to the newest version of Debian, that stopped working. So after some mucking around and getting the old module for cryptoloop put back into my current kernel, I figured i might as well migrate over to [&#8230;]]]></description>
  282. <content:encoded><![CDATA[<p>I used to have an encrypted volume on my file server, for storing sensitive things, but after an upgrade to the newest version of Debian, that stopped working. So after some mucking around and getting the old module for cryptoloop put back into my current kernel, I figured i might as well migrate over to the newer version, which uses cryptsetup, losetup, and luks.</p>
  283. <p>Ive shamelessly stolen these commands (although ive changed some of them)from <a href="http://wiki.centos.org/HowTos/EncryptedFilesystem">elsewhere</a>.. </p>
  284. <p>Create the file system and restricted access.<br />
  285. <code><br />
  286. dd of=/path/to/secretfs bs=1G count=0 seek=8<br />
  287. chmod 600 /path/to/secretfs<br />
  288. </code></p>
  289. <p>Create a loopback device for the file<br />
  290. <code>losetup /dev/loop0 /path/to/secretfs</code><br />
  291. Creates the volume, asks you for the key, and then creatss the DM mapping<br />
  292. <code>cryptsetup -y luksFormat /dev/loop0<br />
  293. cryptsetup luksOpen /dev/loop0 secretfs</code></p>
  294. <p>Pad the file so it generates its random data<br />
  295. <code>dd if=/dev/zero of=/dev/mapper/secretfs</code></p>
  296. <p>Create the filesystem<br />
  297. <code>mkfs.ext3 dev/mapper/secretfs<br />
  298. </code></p>
  299. <p># Mount the new filesystem in a convenient location<br />
  300. <code>mkdir /mnt/cryptofs/secretfs<br />
  301. mount /dev/mapper/secretfs /mnt/cryptofs/secretfs</code></p>
  302. <p>And an encrypted volume is setup.</p>
  303. <p>Now how to unmount:<br />
  304. <code><br />
  305. umount /mnt/cryptofs/secretfs<br />
  306. cryptsetup luksClose secretfs<br />
  307. losetup -d /dev/loop0</code></p>
  308. <p>Remount:<br />
  309. <code><br />
  310. losetup /dev/loop0 /path/to/secretfs<br />
  311. cryptsetup luksOpen /dev/loop0 secretfs<br />
  312. (enter password when prompted)<br />
  313. mount /dev/mapper/secretfs /mnt/cryptofs/secretfs</code></p>
  314. <p>Now stuff that i can never remember how to do is grow the volume.</p>
  315. <p>Make sure the volume is closed, unmounted etc.<br />
  316. <code>umount /mnt/cryptofs/secretfs<br />
  317. cryptsetup luksClose secretfs<br />
  318. losetup -d /dev/loop0<br />
  319. </code></p>
  320. <p>Add 20gig to the file<br />
  321. <code>dd if=/dev/zero bs=1G count=20 >> /dev/mapper/secretfs<br />
  322. </code></p>
  323. <p>Remount and reopen part of it</p>
  324. <p><code>losetup /dev/loop0 /path/to/secretfs<br />
  325. cryptsetup lucksOpen /dev/loop5 EncryptedFS<br />
  326. </code></p>
  327. <p>check the FS first<br />
  328. <code>e2fsck -f /dev/mapper/EncryptedFS<br />
  329. </code><br />
  330. once thats done grow it<br />
  331. <code>resize2fs /dev/mapper/EncryptedFS</code><br />
  332. and your done. You can now open the volume for use</p>
  333. ]]></content:encoded>
  334. <wfw:commentRss>http://blog.our-files.com/2011/10/encrypted-flatfile-volume/feed/</wfw:commentRss>
  335. <slash:comments>0</slash:comments>
  336. </item>
  337. <item>
  338. <title>Reattaching database and fixing users</title>
  339. <link>http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/</link>
  340. <comments>http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/#respond</comments>
  341. <pubDate>Fri, 11 Jun 2010 02:24:37 +0000</pubDate>
  342. <dc:creator><![CDATA[Internat]]></dc:creator>
  343. <category><![CDATA[SQL]]></category>
  344. <category><![CDATA[SQL Server]]></category>
  345.  
  346. <guid isPermaLink="false">http://blog.our-files.com/?p=17</guid>
  347. <description><![CDATA[Backed up and restored a database the other day, but of course the network users arent setup properly cause there actually stored in the master database.. So i recreate the user on the instance which is fine , and then try and regrant it permissions on the database but it fails because its already there&#8230; [&#8230;]]]></description>
  348. <content:encoded><![CDATA[<p>Backed up and restored a database the other day, but of course the network users arent setup properly cause there actually stored in the master database..</p>
  349. <p>So i recreate the user on the instance which is fine , and then try and regrant it permissions on the database but it fails because its already there&#8230;</p>
  350. <p>To fix&#8230;</p>
  351. <pre name="code" class="sql">
  352. User DATABASE
  353. EXEC sp_change_users_login 'update_one', 'usernamehere', 'usernamehere''
  354. </pre>
  355. <p><a href="http://msdn.microsoft.com/en-us/library/ms174378.aspx">http://msdn.microsoft.com/en-us/library/ms174378.aspx</a></p>
  356. ]]></content:encoded>
  357. <wfw:commentRss>http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/feed/</wfw:commentRss>
  358. <slash:comments>0</slash:comments>
  359. </item>
  360. <item>
  361. <title>Pulling iphone backups apart</title>
  362. <link>http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/</link>
  363. <comments>http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/#respond</comments>
  364. <pubDate>Mon, 26 Apr 2010 10:49:05 +0000</pubDate>
  365. <dc:creator><![CDATA[Internat]]></dc:creator>
  366. <category><![CDATA[Uncategorized]]></category>
  367.  
  368. <guid isPermaLink="false">http://blog.our-files.com/?p=15</guid>
  369. <description><![CDATA[I wanted to pull my iphone backups apart because i accidentally deleted some stuff but didn&#8217;t want to restore it all and play with it that way. So heres the tools and what i needed to do it: Backups are stored at: ~/Library/Application Support/MobileSync/Backup) or on a PC (c:\Documents and Settings\Application Data\Apple Computer\MobileSync\Backup). Iphone backup [&#8230;]]]></description>
  370. <content:encoded><![CDATA[<p>I wanted to pull my iphone backups apart because i accidentally deleted some stuff but didn&#8217;t want to restore it all and play with it that way.</p>
  371. <p>So heres the tools and what i needed to do it:<br />
  372. Backups are stored at: ~/Library/Application Support/MobileSync/Backup) or on a PC (c:\Documents and Settings\<username>Application Data\Apple Computer\MobileSync\Backup).</p>
  373. <p><a href="http://www.supercrazyawesome.com/">Iphone backup extractor for OSX</a><br />
  374. <a href="http://menoob.com/2008/12/04/how-to-save-and-read-your-iphone-text-messages-on-your-computer/">how-to-save-and-read-your-iphone-text-messages-on-your-computer</a><br />
  375. <a href="http://menoob.com/2008/12/02/how-to-recover-your-iphone-files-photos-contacts-notes-sms-call-history-etc/">how-to-recover-your-iphone-files-photos-contacts-notes-sms-call-history-etc</a></p>
  376. <p>Couldnt work out how to pull up previous backups though.. only the latest one.. which is a pain.. </p>
  377. ]]></content:encoded>
  378. <wfw:commentRss>http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/feed/</wfw:commentRss>
  379. <slash:comments>0</slash:comments>
  380. </item>
  381. <item>
  382. <title>Manage your email better.</title>
  383. <link>http://blog.our-files.com/2010/03/manage-your-email-better/</link>
  384. <comments>http://blog.our-files.com/2010/03/manage-your-email-better/#respond</comments>
  385. <pubDate>Sun, 28 Mar 2010 09:31:43 +0000</pubDate>
  386. <dc:creator><![CDATA[Internat]]></dc:creator>
  387. <category><![CDATA[Uncategorized]]></category>
  388.  
  389. <guid isPermaLink="false">http://blog.our-files.com/2010/03/manage-your-email-better/</guid>
  390. <description><![CDATA[Shorter emails are better.. apparently]]></description>
  391. <content:encoded><![CDATA[<p><img alt="" src="http://howtogetfocused.com/wp-content/uploads/2010/03/Email-Flowchart.png" title="Manage email better" class="alignnone" width="645" height="1099" /></p>
  392. <p><a href="http://www.jonathanfields.com/blog/short-replies/?utm_source=feedburner&#038;utm_medium=feed&#038;utm_campaign=Feed%3A+JonathanFields+%28Jonathan+Fields+|+Awake+At+The+Wheel%29&#038;utm_content=Twitter">Shorter emails are better.. apparently</a></p>
  393. ]]></content:encoded>
  394. <wfw:commentRss>http://blog.our-files.com/2010/03/manage-your-email-better/feed/</wfw:commentRss>
  395. <slash:comments>0</slash:comments>
  396. </item>
  397. </channel>
  398. </rss>
  399.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//blog.our-files.com/feed/

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda