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>
  18. hourly </sy:updatePeriod>
  19. <sy:updateFrequency>
  20. 1 </sy:updateFrequency>
  21. <generator>https://wordpress.org/?v=5.8.2</generator>
  22. <item>
  23. <title>SQL Server &#8211; Find characters in fields</title>
  24. <link>http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/</link>
  25. <comments>http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/#comments</comments>
  26. <dc:creator><![CDATA[Internat]]></dc:creator>
  27. <pubDate>Mon, 01 Jan 2018 22:03:01 +0000</pubDate>
  28. <category><![CDATA[SQL]]></category>
  29. <category><![CDATA[SQL Server]]></category>
  30. <guid isPermaLink="false">http://blog.our-files.com/?p=39</guid>
  31.  
  32. <description><![CDATA[Credit to Source]]></description>
  33. <content:encoded><![CDATA[<pre class="brush: sql; title: ; notranslate">
  34. DECLARE @counter int = 1;
  35. DECLARE @colString varchar(10) = 'AA%#&amp;    ';
  36.  
  37. WHILE @counter &lt;= DATALENGTH(@colString)
  38.   BEGIN
  39.   SELECT CHAR(ASCII(SUBSTRING(@colString, @counter, 1))) as [Character],
  40.   ASCII(SUBSTRING(@colString, @counter, 1)) as [ASCIIValue]
  41.    
  42.   SET @counter = @counter + 1
  43.   END
  44. GO
  45. </pre>
  46. <p>Credit to <a href="http://www.sqlservercurry.com/2009/09/how-to-find-ascii-value-of-each.html">Source</a></p>
  47. ]]></content:encoded>
  48. <wfw:commentRss>http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/feed/</wfw:commentRss>
  49. <slash:comments>1</slash:comments>
  50. </item>
  51. <item>
  52. <title>NFSv4 and IDMAP caching</title>
  53. <link>http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/</link>
  54. <comments>http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/#comments</comments>
  55. <dc:creator><![CDATA[Internat]]></dc:creator>
  56. <pubDate>Mon, 26 May 2014 21:02:49 +0000</pubDate>
  57. <category><![CDATA[Uncategorized]]></category>
  58. <guid isPermaLink="false">http://blog.our-files.com/?p=35</guid>
  59.  
  60. <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>
  61. <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>
  62. <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>
  63. <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>
  64. <p>I restarted NFS countless times, remounted the mount countless times and so on. </p>
  65. <p>Of course nfs does some form of caching that isnt cleared by a restart</p>
  66. <p>To clear the cache<br />
  67. <code>nfsidmap -c</code></p>
  68. ]]></content:encoded>
  69. <wfw:commentRss>http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/feed/</wfw:commentRss>
  70. <slash:comments>2</slash:comments>
  71. </item>
  72. <item>
  73. <title>GAWK script for some work funkyness</title>
  74. <link>http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/</link>
  75. <comments>http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/#comments</comments>
  76. <dc:creator><![CDATA[Internat]]></dc:creator>
  77. <pubDate>Mon, 26 May 2014 21:00:29 +0000</pubDate>
  78. <category><![CDATA[Bash]]></category>
  79. <category><![CDATA[Uncategorized]]></category>
  80. <guid isPermaLink="false">http://blog.our-files.com/?p=25</guid>
  81.  
  82. <description><![CDATA[gawk &#8216;{if(~ /\.tar/){lasttar=}; if(~ /^filenamehere\.jpg$/){print lasttar; exit;}}&#8217; < internat.txt]]></description>
  83. <content:encoded><![CDATA[<p>gawk &#8216;{if(~ /\.tar/){lasttar=}; if(~ /^filenamehere\.jpg$/){print lasttar; exit;}}&#8217; < internat.txt
  84. </p>
  85. ]]></content:encoded>
  86. <wfw:commentRss>http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/feed/</wfw:commentRss>
  87. <slash:comments>2</slash:comments>
  88. </item>
  89. <item>
  90. <title>solar monitoring stuff</title>
  91. <link>http://blog.our-files.com/2012/10/solar-monitoring-stuff/</link>
  92. <comments>http://blog.our-files.com/2012/10/solar-monitoring-stuff/#respond</comments>
  93. <dc:creator><![CDATA[Internat]]></dc:creator>
  94. <pubDate>Tue, 23 Oct 2012 07:15:36 +0000</pubDate>
  95. <category><![CDATA[Bash]]></category>
  96. <category><![CDATA[Debian]]></category>
  97. <category><![CDATA[Linux]]></category>
  98. <guid isPermaLink="false">http://blog.our-files.com/?p=29</guid>
  99.  
  100. <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>
  101. <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 />
  102. Here is my version</p>
  103. <pre class="brush: bash; title: ; notranslate">
  104. #!/usr/bin/perl
  105. ############################################
  106. ## This software is licensed under the LGPL.
  107. ## Visit http://solar.js.cx for more info.
  108. ############################################
  109. use Device::SerialPort;
  110. use LWP::UserAgent;
  111. use Time::Local;
  112. use HTTP::Status qw(:constants :is status_message);
  113. $debug = 0;
  114. $submit = 1;
  115. $serial_port = &quot;/dev/ttyr00&quot;;
  116. $pvoutput_api =&quot;&lt;apikeyhere&gt;&quot;;
  117. $pvoutport_systemid = &quot;&lt;systemkeyhere&gt;&quot;;
  118.  
  119. $serial_lock = &quot;/tmp/ttyr00.lock&quot;;
  120.  
  121. ## Wait until unlocked
  122. while (-e $serial_lock)
  123. {
  124.  sleep (1);
  125. }
  126. $serial_port = new Device::SerialPort ($serial_port, &quot;&quot;, $serial_lock);
  127.  
  128. $serial_port-&gt;baudrate(9600) || die &quot;failed setting baudrate&quot;;
  129. $serial_port-&gt;parity(&quot;none&quot;) || die &quot;failed setting parity&quot;;
  130. $serial_port-&gt;databits(8) || die &quot;failed setting databits&quot;;
  131. $serial_port-&gt;handshake(&quot;none&quot;) || die &quot;failed setting handshake&quot;;
  132. $serial_port-&gt;write_settings || die &quot;no settings&quot;;
  133.  
  134. ## Might need to tweak this if data is truncated.
  135. $serial_port-&gt;read_const_time(40);
  136.  
  137. $serial_port-&gt;write(&quot;INV?\r&quot;);
  138. ($count, $xantrex_status) = $serial_port-&gt;read(255);
  139. $serial_port-&gt;write(&quot;KWHTODAY?\r&quot;);
  140. ($count, $xantrex_kwhtoday) = $serial_port-&gt;read(255);
  141. $serial_port-&gt;write(&quot;TIME?\r&quot;);
  142. ($count, $xantrex_time) = $serial_port-&gt;read(255);
  143. $serial_port-&gt;write(&quot;POUT?\r&quot;);
  144. ($count, $xantrex_pout) = $serial_port-&gt;read(255);
  145.  
  146. $serial_port-&gt;close || warn &quot;close failed&quot;;
  147.  
  148. $xantrex_wtoday =  $xantrex_kwhtoday * 1000;
  149. #$time = timelocal($sec,$min,$hour,$mday,$mon,$year);
  150. my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
  151. $year += 1900;
  152. $mon += 1;
  153. $date = sprintf &quot;%04d%02d%02d&quot;, $year,$mon,$mday;
  154. $ptime = sprintf &quot;%02d:%02d&quot;, $hour, $min;
  155.  
  156. if ($debug == 1) {
  157. print &quot;Current date/time is: $date - $ptime\n&quot;;
  158. print &quot;Current inverter status is: $xantrex_status\n&quot;;
  159. print &quot;Total KWH today is: $xantrex_kwhtoday\n&quot;;
  160. print &quot;Total WH today is: $xantrex_wtoday\n&quot;;
  161. print &quot;Current output is: $xantrex_pout\n&quot;;
  162. }
  163. chomp($xantrex_status);
  164. my $length = length($xantrex_status);
  165. $length -=1;
  166. $status = substr $xantrex_status, 0, $length;
  167. if (($submit == 1)  &amp;&amp; ($status eq &quot;ON&quot;)) {
  168. if ($debug == 1) {
  169. print  &quot;Submitting data\n&quot;;
  170. }
  171. my $ua = new LWP::UserAgent;
  172. $ua-&gt;default_header( 'X-Pvoutput-Apikey' =&gt; $pvoutput_api, 'X-Pvoutput-SystemId' =&gt; $pvoutport_systemid );
  173.  
  174.  
  175. my $response
  176. = $ua-&gt;post('http://pvoutput.org/service/r2/addstatus.jsp',
  177. { 'v2' =&gt; $xantrex_pout,
  178. 'v1' =&gt; $xantrex_wtoday,
  179. 'd' =&gt; $date,
  180. 't' =&gt; $ptime
  181.  
  182. });
  183. my $content = $response-&gt;content;
  184. if ($debug == 1) {
  185. print &quot;$content\n&quot;;
  186. }
  187. if ($response-&gt;is_error) {
  188. print &quot;Error updating pvoutput.org $content\r\n&quot;;
  189. }
  190. }
  191. </pre>
  192. ]]></content:encoded>
  193. <wfw:commentRss>http://blog.our-files.com/2012/10/solar-monitoring-stuff/feed/</wfw:commentRss>
  194. <slash:comments>0</slash:comments>
  195. </item>
  196. <item>
  197. <title>format_mp3.so building for Asterisk 1.8.11 using packages.asterisk.org</title>
  198. <link>http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/</link>
  199. <comments>http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/#respond</comments>
  200. <dc:creator><![CDATA[Internat]]></dc:creator>
  201. <pubDate>Wed, 18 Jul 2012 08:51:23 +0000</pubDate>
  202. <category><![CDATA[Asterisk]]></category>
  203. <category><![CDATA[Debian]]></category>
  204. <category><![CDATA[Linux]]></category>
  205. <guid isPermaLink="false">http://blog.our-files.com/?p=26</guid>
  206.  
  207. <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>
  208. <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>
  209. <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>
  210. <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/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  211. <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 />
  212. <code><br />
  213. apt-get install build-essential<br />
  214. apt-get build-dep asterisk<br />
  215. apt-get install libncurses5-dev libncursesw5-dev libxml2-dev<br />
  216. cd /usr/src<br />
  217. apt-get source asterisk<br />
  218. cd asterisk-1.8.11.1<br />
  219. ./configure<br />
  220. make menuselect<br />
  221. </code><br />
  222. In the make menu select, go into addons, and tick off format_mp3 (i think x was save and exit)<br />
  223. <code><br />
  224. contrib/scripts/get_mp3_source.sh<br />
  225. </code><br />
  226. This goes and grabs out of SVN the latest mp3 stuff, this is done for the packaging stuff as mentioned above<br />
  227. <code><br />
  228. make addons<br />
  229. </code><br />
  230. Assuming your make addons ran without errors, its built the module.. to install it run:<br />
  231. <code>make addons-install</code><br />
  232. Now to restart asterisk<br />
  233. <code>/etc/init.d/asterisk restart</code><br />
  234. and finally to confirm it actually loaded<br />
  235. <code>asterisk -rx 'core show file formats'</code></p>
  236. <p>as long as mp3 is in your list, your golden!</p>
  237. ]]></content:encoded>
  238. <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>
  239. <slash:comments>0</slash:comments>
  240. </item>
  241. <item>
  242. <title>SQL server log shipping over the interwebs with workgroup servers</title>
  243. <link>http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/</link>
  244. <comments>http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/#comments</comments>
  245. <dc:creator><![CDATA[Internat]]></dc:creator>
  246. <pubDate>Sat, 11 Feb 2012 08:13:38 +0000</pubDate>
  247. <category><![CDATA[Microsoft]]></category>
  248. <category><![CDATA[SQL Server]]></category>
  249. <guid isPermaLink="false">http://blog.our-files.com/?p=23</guid>
  250.  
  251. <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>
  252. <content:encoded><![CDATA[<p>Notes from when i set up log shipping over the internet.. to be padded out with real deatil later.</p>
  253. <p>Create vpn between servers (use remote access and routing, and create the other server as a peristant dial on demand route)</p>
  254. <p>Make user say &#8220;sqlserver_agent&#8221; on both servers, with same username and same password.<br />
  255. Make directory on primary server eg c:\database_logs<br />
  256. grant access to both &#8220;sqlserver_agent&#8221; and &#8220;network service&#8221;<br />
  257. share path on primary server. </p>
  258. <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>
  259. <p>make sql server agent on both run servers with the same account as above.</p>
  260. <p>make sure database on primary server is in full mode.<br />
  261. 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>
  262. <p>use the wizard to create the jobs on both servers that do the restore.</p>
  263. <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>
  264. <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>
  265. <p>used these sites for info<br />
  266. http://www.mssqltips.com/sqlservertip/2562/sql-server-log-shipping-to-a-different-domain-or-workgroup/<br />
  267. http://omaralzabir.com/how_to_setup_sql_server_2005_transaction_log_ship_on_large_database_that_really_works/</p>
  268. ]]></content:encoded>
  269. <wfw:commentRss>http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/feed/</wfw:commentRss>
  270. <slash:comments>4</slash:comments>
  271. </item>
  272. <item>
  273. <title>Encrypted FlatFile Volume</title>
  274. <link>http://blog.our-files.com/2011/10/encrypted-flatfile-volume/</link>
  275. <comments>http://blog.our-files.com/2011/10/encrypted-flatfile-volume/#respond</comments>
  276. <dc:creator><![CDATA[Internat]]></dc:creator>
  277. <pubDate>Thu, 27 Oct 2011 05:22:35 +0000</pubDate>
  278. <category><![CDATA[Bash]]></category>
  279. <category><![CDATA[Debian]]></category>
  280. <category><![CDATA[Linux]]></category>
  281. <guid isPermaLink="false">http://blog.our-files.com/?p=19</guid>
  282.  
  283. <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>
  284. <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>
  285. <p>Ive shamelessly stolen these commands (although ive changed some of them)from <a href="http://wiki.centos.org/HowTos/EncryptedFilesystem">elsewhere</a>.. </p>
  286. <p>Create the file system and restricted access.<br />
  287. <code><br />
  288. dd of=/path/to/secretfs bs=1G count=0 seek=8<br />
  289. chmod 600 /path/to/secretfs<br />
  290. </code></p>
  291. <p>Create a loopback device for the file<br />
  292. <code>losetup /dev/loop0 /path/to/secretfs</code><br />
  293. Creates the volume, asks you for the key, and then creatss the DM mapping<br />
  294. <code>cryptsetup -y luksFormat /dev/loop0<br />
  295. cryptsetup luksOpen /dev/loop0 secretfs</code></p>
  296. <p>Pad the file so it generates its random data<br />
  297. <code>dd if=/dev/zero of=/dev/mapper/secretfs</code></p>
  298. <p>Create the filesystem<br />
  299. <code>mkfs.ext3 dev/mapper/secretfs<br />
  300. </code></p>
  301. <p># Mount the new filesystem in a convenient location<br />
  302. <code>mkdir /mnt/cryptofs/secretfs<br />
  303. mount /dev/mapper/secretfs /mnt/cryptofs/secretfs</code></p>
  304. <p>And an encrypted volume is setup.</p>
  305. <p>Now how to unmount:<br />
  306. <code><br />
  307. umount /mnt/cryptofs/secretfs<br />
  308. cryptsetup luksClose secretfs<br />
  309. losetup -d /dev/loop0</code></p>
  310. <p>Remount:<br />
  311. <code><br />
  312. losetup /dev/loop0 /path/to/secretfs<br />
  313. cryptsetup luksOpen /dev/loop0 secretfs<br />
  314. (enter password when prompted)<br />
  315. mount /dev/mapper/secretfs /mnt/cryptofs/secretfs</code></p>
  316. <p>Now stuff that i can never remember how to do is grow the volume.</p>
  317. <p>Make sure the volume is closed, unmounted etc.<br />
  318. <code>umount /mnt/cryptofs/secretfs<br />
  319. cryptsetup luksClose secretfs<br />
  320. losetup -d /dev/loop0<br />
  321. </code></p>
  322. <p>Add 20gig to the file<br />
  323. <code>dd if=/dev/zero bs=1G count=20 >> /dev/mapper/secretfs<br />
  324. </code></p>
  325. <p>Remount and reopen part of it</p>
  326. <p><code>losetup /dev/loop0 /path/to/secretfs<br />
  327. cryptsetup lucksOpen /dev/loop5 EncryptedFS<br />
  328. </code></p>
  329. <p>check the FS first<br />
  330. <code>e2fsck -f /dev/mapper/EncryptedFS<br />
  331. </code><br />
  332. once thats done grow it<br />
  333. <code>resize2fs /dev/mapper/EncryptedFS</code><br />
  334. and your done. You can now open the volume for use</p>
  335. ]]></content:encoded>
  336. <wfw:commentRss>http://blog.our-files.com/2011/10/encrypted-flatfile-volume/feed/</wfw:commentRss>
  337. <slash:comments>0</slash:comments>
  338. </item>
  339. <item>
  340. <title>Reattaching database and fixing users</title>
  341. <link>http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/</link>
  342. <comments>http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/#respond</comments>
  343. <dc:creator><![CDATA[Internat]]></dc:creator>
  344. <pubDate>Fri, 11 Jun 2010 02:24:37 +0000</pubDate>
  345. <category><![CDATA[SQL]]></category>
  346. <category><![CDATA[SQL Server]]></category>
  347. <guid isPermaLink="false">http://blog.our-files.com/?p=17</guid>
  348.  
  349. <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>
  350. <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>
  351. <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>
  352. <p>To fix&#8230;</p>
  353. <pre name="code" class="sql">
  354. User DATABASE
  355. EXEC sp_change_users_login 'update_one', 'usernamehere', 'usernamehere''
  356. </pre>
  357. <p><a href="http://msdn.microsoft.com/en-us/library/ms174378.aspx">http://msdn.microsoft.com/en-us/library/ms174378.aspx</a></p>
  358. ]]></content:encoded>
  359. <wfw:commentRss>http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/feed/</wfw:commentRss>
  360. <slash:comments>0</slash:comments>
  361. </item>
  362. <item>
  363. <title>Pulling iphone backups apart</title>
  364. <link>http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/</link>
  365. <comments>http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/#respond</comments>
  366. <dc:creator><![CDATA[Internat]]></dc:creator>
  367. <pubDate>Mon, 26 Apr 2010 10:49:05 +0000</pubDate>
  368. <category><![CDATA[Uncategorized]]></category>
  369. <guid isPermaLink="false">http://blog.our-files.com/?p=15</guid>
  370.  
  371. <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>
  372. <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>
  373. <p>So heres the tools and what i needed to do it:<br />
  374. 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>
  375. <p><a href="http://www.supercrazyawesome.com/">Iphone backup extractor for OSX</a><br />
  376. <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 />
  377. <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>
  378. <p>Couldnt work out how to pull up previous backups though.. only the latest one.. which is a pain.. </p>
  379. ]]></content:encoded>
  380. <wfw:commentRss>http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/feed/</wfw:commentRss>
  381. <slash:comments>0</slash:comments>
  382. </item>
  383. <item>
  384. <title>Manage your email better.</title>
  385. <link>http://blog.our-files.com/2010/03/manage-your-email-better/</link>
  386. <comments>http://blog.our-files.com/2010/03/manage-your-email-better/#respond</comments>
  387. <dc:creator><![CDATA[Internat]]></dc:creator>
  388. <pubDate>Sun, 28 Mar 2010 09:31:43 +0000</pubDate>
  389. <category><![CDATA[Uncategorized]]></category>
  390. <guid isPermaLink="false">http://blog.our-files.com/2010/03/manage-your-email-better/</guid>
  391.  
  392. <description><![CDATA[Shorter emails are better.. apparently]]></description>
  393. <content:encoded><![CDATA[<p><img loading="lazy" alt="" src="http://howtogetfocused.com/wp-content/uploads/2010/03/Email-Flowchart.png" title="Manage email better" class="alignnone" width="645" height="1099" /></p>
  394. <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>
  395. ]]></content:encoded>
  396. <wfw:commentRss>http://blog.our-files.com/2010/03/manage-your-email-better/feed/</wfw:commentRss>
  397. <slash:comments>0</slash:comments>
  398. </item>
  399. </channel>
  400. </rss>
  401.  

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