Certain company blocking a certain hosting provider? No problem, just tunnel the process through a small VPS with wireguard.
Consider server A your blocked server and server B your VPS.
Server A:
https://code.google.com/p/android/issues/detail?id=32696#c5 | |
If you have a certificate that is not | |
trusted by Android, when you add it, it goes in the personal cert store. | |
When you add a cert in this personal cert store, the system requires a | |
higher security level to unlock the device. But if you manage to add your | |
cert to the system store then you don't have this requirement. Obviously, | |
root is required to add a certificate to the system store, but it is quiet | |
easy. |
function openURLInDefaultBrowser(url){ | |
var shell = new ActiveXObject('WScript.Shell'); | |
shell.run(url); | |
} | |
// VBScript: | |
// Set shell = createobject("WScript.Shell") | |
// shell.run "http://www.microsoft.com" |
{ | |
"apps" : [{ | |
"name" : "worker-app", | |
"script" : "worker.js", | |
"args" : ["--toto=heya coco", "-d", "1"], | |
"watch" : true, | |
"node_args" : "--harmony", | |
"merge_logs" : true, | |
"cwd" : "/this/is/a/path/to/start/script", | |
"env": { |
<?php | |
function encrypt($string, $key=5) { | |
$result = ''; | |
for($i=0, $k= strlen($string); $i<$k; $i++) { | |
$char = substr($string, $i, 1); | |
$keychar = substr($key, ($i % strlen($key))-1, 1); | |
$char = chr(ord($char)+ord($keychar)); | |
$result .= $char; | |
} | |
return base64_encode($result); |
<div id="google_translate_element"></div> | |
<script type="text/javascript"> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); | |
} | |
</script> | |
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
asar extract app.asar test |
electron-windows-store --input-directory "./in-folder" --output-directory "./out-folder" --package-version 1.0.0.0 --package-name PackageName |
https://stackoverflow.com/a/58706318/374577 | |
$ sudo parted /dev/sda resizepart 1 | |
End? [20GB]? 40GB | |
$ sudo resize2fs /dev/sda1 | |
$ lsblk | |
$ df -h | |
body { padding: 50px; } | |
ul { | |
max-height:300px; | |
overflow:auto; | |
} | |
/* Overwrite the default to keep the scrollbar always visible */ |