- Enter
chrome://flags/#same-site-by-default-cookies
in the address bar - Disable selected option
- Restart browser
This file contains hidden or 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
[{"model":"Mazda RX4","mpg":21,"cyl":6,"disp":160,"hp":110,"drat":3.9,"wt":2.62,"qsec":16.46,"vs":0,"am":1,"gear":4,"carb":4}, | |
{"model":"Mazda RX4 Wag","mpg":21,"cyl":6,"disp":160,"hp":110,"drat":3.9,"wt":2.875,"qsec":17.02,"vs":0,"am":1,"gear":4,"carb":4}, | |
{"model":"Datsun 710","mpg":22.8,"cyl":4,"disp":108,"hp":93,"drat":3.85,"wt":2.32,"qsec":18.61,"vs":1,"am":1,"gear":4,"carb":1}, | |
{"model":"Hornet 4 Drive","mpg":21.4,"cyl":6,"disp":258,"hp":110,"drat":3.08,"wt":3.215,"qsec":19.44,"vs":1,"am":0,"gear":3,"carb":1}, | |
{"model":"Hornet Sportabout","mpg":18.7,"cyl":8,"disp":360,"hp":175,"drat":3.15,"wt":3.44,"qsec":17.02,"vs":0,"am":0,"gear":3,"carb":2}, | |
{"model":"Valiant","mpg":18.1,"cyl":6,"disp":225,"hp":105,"drat":2.76,"wt":3.46,"qsec":20.22,"vs":1,"am":0,"gear":3,"carb":1}, | |
{"model":"Duster 360","mpg":14.3,"cyl":8,"disp":360,"hp":245,"drat":3.21,"wt":3.57,"qsec":15.84,"vs":0,"am":0,"gear":3,"carb":4}, | |
{"model":"Merc 240D","mpg":24.4,"cyl":4,"disp":146.7,"hp":62,"drat":3.69,"wt":3.19,"qsec":20,"vs":1,"am":0," |
This file contains hidden or 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, body { | |
background: #111 !important; | |
} | |
#hnmain { | |
background: #1a1a1a; | |
padding: 5px; | |
} | |
.subtext { |
This file contains hidden or 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
Соединения | |
Список соединений | |
клик на соединение -> Страница Соединения | |
клик на новое соединение -> Создание соединения | |
Страница Соединения | |
Назад -> Соединения | |
Создание соединения |
This file contains hidden or 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 vm = require('vm'); | |
const instance = {}; | |
for (let i = 0; i < 10; i++) { | |
const execStart = process.hrtime(); | |
vm.runInNewContext('', instance); | |
const execEnd = process.hrtime(execStart); | |
console.log(`${execEnd[0]}s ${execEnd[1] / 1000000}ms`); | |
} |
This file contains hidden or 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 centerAuth(loginRequest) { | |
var response = HTTP.call('POST', 'http://localhost:4567/auth', | |
{params: {username: loginRequest.username, password: loginRequest.password}}); | |
response = JSON.parse(response.content); | |
if (response && response.response === 'ok') { | |
var userId = null; | |
var user = Meteor.users.findOne({ username: loginRequest.username }); | |
if (! user) { |
This file contains hidden or 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
var add = (function () { | |
var counter = 0; | |
var f = function (x) { | |
counter += x; | |
return f; | |
}; | |
f.valueOf = function () { |
Put this in /usr/share/themes/Radiance/gtk-3.0/apps/unity.css
.unity-panel.menubar,
.unity-panel .menubar {
text-shadow: none;
}
Run update-rc.d rssh defaults
after adding this file to /etc/init.d
on your Raspberry.
To SSH through NAT you should use "proxy" server (TARGET
in this script) with GatewayPorts yes
in its /etc/ssh/sshd_config
.
After configuring middle server just run ssh [email protected] -p 2242
to connect to your Raspberry behind the NAT.
This file contains hidden or 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
from xmlrpc.client import ServerProxy | |
import json | |
pages = [] | |
wikidot = ServerProxy('https://username:[email protected]/xml-rpc-api.php') | |
pages_names = wikidot.pages.select({"site": "scp-ru"}) | |
for page_name in pages_names: | |
p = wikidot.pages.get_one( { "site": "scp-ru", "page": page_name } ) | |
del(p['html']) |
NewerOlder