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
// originaly from https://kb.apify.com/tips-and-tricks/scraping-data-from-websites-using-schemaorg-microdata | |
function schemaOrgParser() { | |
var extractValue = function(elem) { | |
return $(elem).attr("content") || $(elem).text() | |
|| $(elem).attr("src") || $(elem).attr("href") || null; | |
}; | |
var addProperty = function(item,propName,value) { | |
if( typeof(value)==='string' ) | |
value = value.trim(); | |
if( Array.isArray(item[propName]) ) |
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
diff --git a/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc b/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc | |
index 88df062..5adbc2e 100644 | |
--- a/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc | |
+++ b/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc | |
@@ -14,7 +14,7 @@ | |
namespace { | |
// Max number of most recently used folders. | |
-const size_t kMaxMRUFolders = 5; | |
+const size_t kMaxMRUFolders = 20; |
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
@REM https://github.com/coreybutler/nvm-windows/issues/300 | |
pushd %ProgramFiles%\nodejs | |
del npm npm.cmd | |
move node_modules\npm node_modules\npm2 | |
node node_modules\npm2\bin\npm-cli.js i npm@latest -g | |
rd node_modules\npm2 /S /Q | |
popd |
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
const fs = require('fs'); | |
const async_hooks = require('async_hooks'); | |
let indent = 0; | |
async_hooks.createHook({ | |
init(asyncId, type, triggerAsyncId) { | |
const eid = async_hooks.executionAsyncId(); | |
const indentStr = ' '.repeat(indent); | |
fs.writeSync( | |
1, |
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
Function Install-Scoop { | |
New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ` | |
-propertyType ExpandString ` | |
-name "SCOOP_GLOBAL" ` | |
-value "${ENV:PROGRAMDATA}\scoop" | |
Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression | |
'scoop install Git-with-OpenSSH Sudo Which --global' | Set-Content -path temp_script.ps1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
stun: | |
stun.l.google.com:19302, | |
stun1.l.google.com:19302, | |
stun2.l.google.com:19302, | |
stun3.l.google.com:19302, | |
stun4.l.google.com:19302, | |
stun.ekiga.net, | |
stun.ideasip.com, |
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
#.SYNOPSIS | |
# Exports objects to an Excel spreadsheet by writing them to a temporary | |
# CSV file and using Excel automation model to import it into a workbook. | |
# This allows formatting to be applied to columns which would not otherwise | |
# be possible in a plain CSV export. | |
function Export-Excel { | |
[CmdletBinding()] | |
param( |
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
param ( | |
[ValidateNotNullOrEmpty()] | |
[string] $ScriptPath, | |
[ValidateNotNullOrEmpty()] | |
[string] $TaskName | |
# Pass in as many arguments as you want.... | |
) | |
# Setup error handling. | |
Trap |
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
. | |
├── matree | |
├── swift | |
│ ├── 00503_0_254.242_2013mar02 | |
│ ├── 00546_0_ensbdasa-09aug2013 | |
│ ├── 00553_0_ensbdpix3-09aug2013 | |
│ ├── 00554_0_ensbdpix4-09aug2013 | |
│ ├── 00555_0_ensbdrtr1-2013aug09 | |
│ ├── 00557_0_ENSBDVPN1-02AUG2013 | |
│ ├── 00558_0_ENSBDVPN2-02AUG2013 |
NewerOlder