Sorry

This feed does not validate.

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

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

  1. <?xml version="1.0" encoding="UTF-8"?><feed
  2.  xmlns="http://www.w3.org/2005/Atom"
  3.  xmlns:thr="http://purl.org/syndication/thread/1.0"
  4.  xml:lang="en-US"
  5.  xml:base="http://blog.our-files.com/wp-atom.php"
  6.   >
  7. <title type="text">Our-files.com &#8211; Nathans&#039; Rants</title>
  8. <subtitle type="text">Rants and Randomness, Mishaps and Misconceptions, and other wierd things</subtitle>
  9.  
  10. <updated>2018-01-01T22:30:09Z</updated>
  11.  
  12. <link rel="alternate" type="text/html" href="http://blog.our-files.com" />
  13. <id>http://blog.our-files.com/feed/atom/</id>
  14. <link rel="self" type="application/atom+xml" href="http://blog.our-files.com/feed/atom/" />
  15.  
  16. <generator uri="https://wordpress.org/" version="4.9.1">WordPress</generator>
  17. <entry>
  18. <author>
  19. <name>Internat</name>
  20. <uri>http://</uri>
  21. </author>
  22. <title type="html"><![CDATA[SQL Server &#8211; Find characters in fields]]></title>
  23. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/" />
  24. <id>http://blog.our-files.com/?p=39</id>
  25. <updated>2018-01-01T22:30:09Z</updated>
  26. <published>2018-01-01T22:03:01Z</published>
  27. <category scheme="http://blog.our-files.com" term="SQL" /><category scheme="http://blog.our-files.com" term="SQL Server" /> <summary type="html"><![CDATA[Credit to Source]]></summary>
  28. <content type="html" xml:base="http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/"><![CDATA[<pre class="brush: sql; title: ; notranslate">
  29. DECLARE @counter int = 1;
  30. DECLARE @colString varchar(10) = 'AA%#&amp;    ';
  31.  
  32. WHILE @counter &lt;= DATALENGTH(@colString)
  33.   BEGIN
  34.   SELECT CHAR(ASCII(SUBSTRING(@colString, @counter, 1))) as [Character],
  35.   ASCII(SUBSTRING(@colString, @counter, 1)) as [ASCIIValue]
  36.    
  37.   SET @counter = @counter + 1
  38.   END
  39. GO
  40. </pre>
  41. <p>Credit to <a href="http://www.sqlservercurry.com/2009/09/how-to-find-ascii-value-of-each.html">Source</a></p>
  42. ]]></content>
  43. <link rel="replies" type="text/html" href="http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/#comments" thr:count="0"/>
  44. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2018/01/sql-server-find-characters-in-fields/feed/atom/" thr:count="0"/>
  45. <thr:total>0</thr:total>
  46. </entry>
  47. <entry>
  48. <author>
  49. <name>Internat</name>
  50. <uri>http://</uri>
  51. </author>
  52. <title type="html"><![CDATA[NFSv4 and IDMAP caching]]></title>
  53. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/" />
  54. <id>http://blog.our-files.com/?p=35</id>
  55. <updated>2014-05-26T21:02:49Z</updated>
  56. <published>2014-05-26T21:02:49Z</published>
  57. <category scheme="http://blog.our-files.com" term="Uncategorized" /> <summary type="html"><![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;]]]></summary>
  58. <content type="html" xml:base="http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/"><![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>
  59. <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>
  60. <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>
  61. <p>I restarted NFS countless times, remounted the mount countless times and so on. </p>
  62. <p>Of course nfs does some form of caching that isnt cleared by a restart</p>
  63. <p>To clear the cache<br />
  64. <code>nfsidmap -c</code></p>
  65. ]]></content>
  66. <link rel="replies" type="text/html" href="http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/#comments" thr:count="1"/>
  67. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2014/05/nfsv4-and-idmap-caching/feed/atom/" thr:count="1"/>
  68. <thr:total>1</thr:total>
  69. </entry>
  70. <entry>
  71. <author>
  72. <name>Internat</name>
  73. <uri>http://</uri>
  74. </author>
  75. <title type="html"><![CDATA[GAWK script for some work funkyness]]></title>
  76. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/" />
  77. <id>http://blog.our-files.com/?p=25</id>
  78. <updated>2014-05-26T21:00:29Z</updated>
  79. <published>2014-05-26T21:00:29Z</published>
  80. <category scheme="http://blog.our-files.com" term="Bash" /><category scheme="http://blog.our-files.com" term="Uncategorized" /> <summary type="html"><![CDATA[gawk &#8216;{if(~ /\.tar/){lasttar=}; if(~ /^filenamehere\.jpg$/){print lasttar; exit;}}&#8217; < internat.txt]]></summary>
  81. <content type="html" xml:base="http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/"><![CDATA[<p>gawk &#8216;{if(~ /\.tar/){lasttar=}; if(~ /^filenamehere\.jpg$/){print lasttar; exit;}}&#8217; < internat.txt
  82. </p>
  83. ]]></content>
  84. <link rel="replies" type="text/html" href="http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/#comments" thr:count="1"/>
  85. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2014/05/gawk-script-for-some-work-funkyness/feed/atom/" thr:count="1"/>
  86. <thr:total>1</thr:total>
  87. </entry>
  88. <entry>
  89. <author>
  90. <name>Internat</name>
  91. <uri>http://</uri>
  92. </author>
  93. <title type="html"><![CDATA[solar monitoring stuff]]></title>
  94. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2012/10/solar-monitoring-stuff/" />
  95. <id>http://blog.our-files.com/?p=29</id>
  96. <updated>2012-10-23T07:18:50Z</updated>
  97. <published>2012-10-23T07:15:36Z</published>
  98. <category scheme="http://blog.our-files.com" term="Bash" /><category scheme="http://blog.our-files.com" term="Debian" /><category scheme="http://blog.our-files.com" term="Linux" /> <summary type="html"><![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]]></summary>
  99. <content type="html" xml:base="http://blog.our-files.com/2012/10/solar-monitoring-stuff/"><![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>
  191. <link rel="replies" type="text/html" href="http://blog.our-files.com/2012/10/solar-monitoring-stuff/#comments" thr:count="0"/>
  192. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2012/10/solar-monitoring-stuff/feed/atom/" thr:count="0"/>
  193. <thr:total>0</thr:total>
  194. </entry>
  195. <entry>
  196. <author>
  197. <name>Internat</name>
  198. <uri>http://</uri>
  199. </author>
  200. <title type="html"><![CDATA[format_mp3.so building for Asterisk 1.8.11 using packages.asterisk.org]]></title>
  201. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/" />
  202. <id>http://blog.our-files.com/?p=26</id>
  203. <updated>2012-07-18T09:02:48Z</updated>
  204. <published>2012-07-18T08:51:23Z</published>
  205. <category scheme="http://blog.our-files.com" term="Asterisk" /><category scheme="http://blog.our-files.com" term="Debian" /><category scheme="http://blog.our-files.com" term="Linux" /> <summary type="html"><![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;]]]></summary>
  206. <content type="html" xml:base="http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/"><![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>
  236. <link rel="replies" type="text/html" href="http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/#comments" thr:count="0"/>
  237. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/feed/atom/" thr:count="0"/>
  238. <thr:total>0</thr:total>
  239. </entry>
  240. <entry>
  241. <author>
  242. <name>Internat</name>
  243. <uri>http://</uri>
  244. </author>
  245. <title type="html"><![CDATA[SQL server log shipping over the interwebs with workgroup servers]]></title>
  246. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/" />
  247. <id>http://blog.our-files.com/?p=23</id>
  248. <updated>2012-02-11T08:13:38Z</updated>
  249. <published>2012-02-11T08:13:38Z</published>
  250. <category scheme="http://blog.our-files.com" term="Microsoft" /><category scheme="http://blog.our-files.com" term="SQL Server" /> <summary type="html"><![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;]]]></summary>
  251. <content type="html" xml:base="http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/"><![CDATA[<p>Notes from when i set up log shipping over the internet.. to be padded out with real deatil later.</p>
  252. <p>Create vpn between servers (use remote access and routing, and create the other server as a peristant dial on demand route)</p>
  253. <p>Make user say &#8220;sqlserver_agent&#8221; on both servers, with same username and same password.<br />
  254. Make directory on primary server eg c:\database_logs<br />
  255. grant access to both &#8220;sqlserver_agent&#8221; and &#8220;network service&#8221;<br />
  256. share path on primary server. </p>
  257. <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>
  258. <p>make sql server agent on both run servers with the same account as above.</p>
  259. <p>make sure database on primary server is in full mode.<br />
  260. 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>
  261. <p>use the wizard to create the jobs on both servers that do the restore.</p>
  262. <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>
  263. <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>
  264. <p>used these sites for info<br />
  265. http://www.mssqltips.com/sqlservertip/2562/sql-server-log-shipping-to-a-different-domain-or-workgroup/<br />
  266. http://omaralzabir.com/how_to_setup_sql_server_2005_transaction_log_ship_on_large_database_that_really_works/</p>
  267. ]]></content>
  268. <link rel="replies" type="text/html" href="http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/#comments" thr:count="2"/>
  269. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2012/02/sql-server-log-shipping-over-the-interwebs-with-workgroup-servers/feed/atom/" thr:count="2"/>
  270. <thr:total>2</thr:total>
  271. </entry>
  272. <entry>
  273. <author>
  274. <name>Internat</name>
  275. <uri>http://</uri>
  276. </author>
  277. <title type="html"><![CDATA[Encrypted FlatFile Volume]]></title>
  278. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2011/10/encrypted-flatfile-volume/" />
  279. <id>http://blog.our-files.com/?p=19</id>
  280. <updated>2011-10-27T05:22:35Z</updated>
  281. <published>2011-10-27T05:22:35Z</published>
  282. <category scheme="http://blog.our-files.com" term="Bash" /><category scheme="http://blog.our-files.com" term="Debian" /><category scheme="http://blog.our-files.com" term="Linux" /> <summary type="html"><![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;]]]></summary>
  283. <content type="html" xml:base="http://blog.our-files.com/2011/10/encrypted-flatfile-volume/"><![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>
  284. <p>Ive shamelessly stolen these commands (although ive changed some of them)from <a href="http://wiki.centos.org/HowTos/EncryptedFilesystem">elsewhere</a>.. </p>
  285. <p>Create the file system and restricted access.<br />
  286. <code><br />
  287. dd of=/path/to/secretfs bs=1G count=0 seek=8<br />
  288. chmod 600 /path/to/secretfs<br />
  289. </code></p>
  290. <p>Create a loopback device for the file<br />
  291. <code>losetup /dev/loop0 /path/to/secretfs</code><br />
  292. Creates the volume, asks you for the key, and then creatss the DM mapping<br />
  293. <code>cryptsetup -y luksFormat /dev/loop0<br />
  294. cryptsetup luksOpen /dev/loop0 secretfs</code></p>
  295. <p>Pad the file so it generates its random data<br />
  296. <code>dd if=/dev/zero of=/dev/mapper/secretfs</code></p>
  297. <p>Create the filesystem<br />
  298. <code>mkfs.ext3 dev/mapper/secretfs<br />
  299. </code></p>
  300. <p># Mount the new filesystem in a convenient location<br />
  301. <code>mkdir /mnt/cryptofs/secretfs<br />
  302. mount /dev/mapper/secretfs /mnt/cryptofs/secretfs</code></p>
  303. <p>And an encrypted volume is setup.</p>
  304. <p>Now how to unmount:<br />
  305. <code><br />
  306. umount /mnt/cryptofs/secretfs<br />
  307. cryptsetup luksClose secretfs<br />
  308. losetup -d /dev/loop0</code></p>
  309. <p>Remount:<br />
  310. <code><br />
  311. losetup /dev/loop0 /path/to/secretfs<br />
  312. cryptsetup luksOpen /dev/loop0 secretfs<br />
  313. (enter password when prompted)<br />
  314. mount /dev/mapper/secretfs /mnt/cryptofs/secretfs</code></p>
  315. <p>Now stuff that i can never remember how to do is grow the volume.</p>
  316. <p>Make sure the volume is closed, unmounted etc.<br />
  317. <code>umount /mnt/cryptofs/secretfs<br />
  318. cryptsetup luksClose secretfs<br />
  319. losetup -d /dev/loop0<br />
  320. </code></p>
  321. <p>Add 20gig to the file<br />
  322. <code>dd if=/dev/zero bs=1G count=20 >> /dev/mapper/secretfs<br />
  323. </code></p>
  324. <p>Remount and reopen part of it</p>
  325. <p><code>losetup /dev/loop0 /path/to/secretfs<br />
  326. cryptsetup lucksOpen /dev/loop5 EncryptedFS<br />
  327. </code></p>
  328. <p>check the FS first<br />
  329. <code>e2fsck -f /dev/mapper/EncryptedFS<br />
  330. </code><br />
  331. once thats done grow it<br />
  332. <code>resize2fs /dev/mapper/EncryptedFS</code><br />
  333. and your done. You can now open the volume for use</p>
  334. ]]></content>
  335. <link rel="replies" type="text/html" href="http://blog.our-files.com/2011/10/encrypted-flatfile-volume/#comments" thr:count="0"/>
  336. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2011/10/encrypted-flatfile-volume/feed/atom/" thr:count="0"/>
  337. <thr:total>0</thr:total>
  338. </entry>
  339. <entry>
  340. <author>
  341. <name>Internat</name>
  342. <uri>http://</uri>
  343. </author>
  344. <title type="html"><![CDATA[Reattaching database and fixing users]]></title>
  345. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/" />
  346. <id>http://blog.our-files.com/?p=17</id>
  347. <updated>2010-06-11T02:27:18Z</updated>
  348. <published>2010-06-11T02:24:37Z</published>
  349. <category scheme="http://blog.our-files.com" term="SQL" /><category scheme="http://blog.our-files.com" term="SQL Server" /> <summary type="html"><![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;]]]></summary>
  350. <content type="html" xml:base="http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/"><![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>
  359. <link rel="replies" type="text/html" href="http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/#comments" thr:count="0"/>
  360. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2010/06/reattaching-database-and-fixing-users/feed/atom/" thr:count="0"/>
  361. <thr:total>0</thr:total>
  362. </entry>
  363. <entry>
  364. <author>
  365. <name>Internat</name>
  366. <uri>http://</uri>
  367. </author>
  368. <title type="html"><![CDATA[Pulling iphone backups apart]]></title>
  369. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/" />
  370. <id>http://blog.our-files.com/?p=15</id>
  371. <updated>2010-04-26T10:56:13Z</updated>
  372. <published>2010-04-26T10:49:05Z</published>
  373. <category scheme="http://blog.our-files.com" term="Uncategorized" /> <summary type="html"><![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;]]]></summary>
  374. <content type="html" xml:base="http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/"><![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>
  375. <p>So heres the tools and what i needed to do it:<br />
  376. 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>
  377. <p><a href="http://www.supercrazyawesome.com/">Iphone backup extractor for OSX</a><br />
  378. <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 />
  379. <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>
  380. <p>Couldnt work out how to pull up previous backups though.. only the latest one.. which is a pain.. </p>
  381. ]]></content>
  382. <link rel="replies" type="text/html" href="http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/#comments" thr:count="0"/>
  383. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2010/04/pulling-iphone-backups-apart/feed/atom/" thr:count="0"/>
  384. <thr:total>0</thr:total>
  385. </entry>
  386. <entry>
  387. <author>
  388. <name>Internat</name>
  389. <uri>http://</uri>
  390. </author>
  391. <title type="html"><![CDATA[Manage your email better.]]></title>
  392. <link rel="alternate" type="text/html" href="http://blog.our-files.com/2010/03/manage-your-email-better/" />
  393. <id>http://blog.our-files.com/2010/03/manage-your-email-better/</id>
  394. <updated>2010-04-26T11:38:42Z</updated>
  395. <published>2010-03-28T09:31:43Z</published>
  396. <category scheme="http://blog.our-files.com" term="Uncategorized" /> <summary type="html"><![CDATA[Shorter emails are better.. apparently]]></summary>
  397. <content type="html" xml:base="http://blog.our-files.com/2010/03/manage-your-email-better/"><![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>
  398. <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>
  399. ]]></content>
  400. <link rel="replies" type="text/html" href="http://blog.our-files.com/2010/03/manage-your-email-better/#comments" thr:count="0"/>
  401. <link rel="replies" type="application/atom+xml" href="http://blog.our-files.com/2010/03/manage-your-email-better/feed/atom/" thr:count="0"/>
  402. <thr:total>0</thr:total>
  403. </entry>
  404. </feed>
  405.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda