This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@localhost:~# route -6 | |
Kernel IPv6 routing table | |
Destination Next Hop Flag Met Ref Use If | |
2400:8901::/64 :: UAe 256 0 0 eth0 | |
2400:8901::/64 :: U 256 0 0 docker0 | |
2400:8901::/64 :: U 1024 0 0 docker0 | |
fe80::1/128 :: U 1024 0 0 eth0 | |
fe80::/64 :: U 256 0 0 eth0 | |
fe80::/64 :: U 256 0 0 docker0 | |
::/0 :: !n -1 1 203 lo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@localhost:~# route -6 | |
Kernel IPv6 routing table | |
Destination Next Hop Flag Met Ref Use If | |
2400:8901::/64 :: UAe 256 0 0 eth0 | |
fe80::/64 :: U 256 0 0 eth0 | |
fe80::/64 :: U 256 0 0 docker0 | |
fe80::/64 :: U 256 0 0 vethd866ece | |
::/0 fe80::1 UGDAe 1024 4 24882 eth0 | |
::/0 :: !n -1 1 24936 lo | |
::1/128 :: Un 0 5 7375 lo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$token = '<token>'; | |
$c = curl_init("https://api.pipedrive.com/v1/organizations?api_token={$token}"); | |
curl_setopt_array($c, [ | |
CURLOPT_POST => true, | |
CURLOPT_POSTFIELDS => 'name=Matt %26 Co', | |
CURLOPT_RETURNTRANSFER => true, | |
]); | |
$result = json_decode(curl_exec($c), true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'inline-style' | |
html = File.read('test.html') | |
count = 0 | |
loop do | |
puts count | |
count += 1 | |
InlineStyle.process(html) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Copy Of Confirmation</title> | |
<style>.tplMain{background-color:#4E8ABE;clear:both;border-color:#4E8ABE;border-style:solid;border-width:6px 6px 6px 6px;margin-left:auto;margin-right:auto;empty-cells:show;} | |
.tplLeftPanel{border-width:6px 6px 6px 6px;border-style:solid;padding:0px 0px 0px 0px;background-color:#4E8ABE;border-color:#4E8ABE;} | |
body{margin:12px 12px 12px 12px;background-color:#FFFFFF;} | |
a, td a{color:#0000CC;} | |
a:hover,a:hover,td a:hover,td a:hover{color:#0000CC;} | |
a, td a{color:#551A8B;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'inline-style' | |
html = File.read('test.html') | |
loop do | |
InlineStyle.process(html) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Copy Of Confirmation</title> | |
<style>.tplMain{background-color:#4E8ABE;clear:both;border-color:#4E8ABE;border-style:solid;border-width:6px 6px 6px 6px;margin-left:auto;margin-right:auto;empty-cells:show;} | |
.tplLeftPanel{border-width:6px 6px 6px 6px;border-style:solid;padding:0px 0px 0px 0px;background-color:#4E8ABE;border-color:#4E8ABE;} | |
body{margin:12px 12px 12px 12px;background-color:#FFFFFF;} | |
a, td a{color:#0000CC;} | |
a:hover,a:visited:hover,td a:hover,td a:visited:hover{color:#0000CC;} | |
a:visited, td a:visited{color:#551A8B;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<verbosegc xmlns="http://www.ibm.com/j9/verbosegc" version="Preview"> | |
<exclusive-start id="1" timestamp="2015-12-17T02:16:21.389" intervalms="42.208"> | |
<response-info timems="0.000" idlems="0.000" threads="0" lastid="0000000000000000" lastname="OMR_VMThread [" /> | |
</exclusive-start> | |
<af-start id="2" threadId="00007F2F3137CFD0" totalBytesRequested="40" timestamp="2015-12-17T02:16:21.389" intervalms="42.392" /> | |
<cycle-start id="3" type="global" contextid="0" timestamp="2015-12-17T02:16:21.389" intervalms="42.510" /> | |
<gc-start id="4" type="global" contextid="3" timestamp="2015-12-17T02:16:21.389"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colls = db.getCollectionNames(); | |
for (var i = 0; i < colls.length; i++) { | |
var coll = colls[i]; | |
if (coll.match(/^system/)) continue; | |
if (coll.match(/_old$/) || coll.match(/_comp$/)) { | |
db[coll].drop(); | |
continue; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wg@wgdev:~$ ~/mongodb/bin/mongorestore -j 1 --drop dump/ | |
2014-11-28T15:34:54.511+1300 building a list of dbs and collections to restore from dump/ dir | |
2014-11-28T15:34:54.528+1300 reading metadata file from dump/wg/files.metadata.json | |
2014-11-28T15:34:54.583+1300 restoring wg.files from file dump/wg/files.bson | |
2014-11-28T15:34:57.528+1300 [........................] wg.files 185998257/6710800085 (2.8%) | |
2014-11-28T15:35:00.527+1300 [#.......................] wg.files 334784905/6710800085 (5.0%) | |
2014-11-28T15:35:03.527+1300 [#.......................] wg.files 468518525/6710800085 (7.0%) | |
2014-11-28T15:35:06.528+1300 [##......................] wg.files 600753676/6710800085 (9.0%) | |
2014-11-28T15:35:09.528+1300 [##......................] wg.files 734770087/6710800085 (10.9%) | |
2014-11-28T15:35:12.528+1300 [###.....................] wg.files 868171415/6710800085 (12.9%) |