Skip to content

Instantly share code, notes, and snippets.

@z81
z81 / custom.css
Last active Nov 28, 2019
vs code multiline tabs
View custom.css
.tabs-and-actions-container>.monaco-scrollable-element {
flex-wrap: wrap !important;
flex: 1 1 auto !important;
height: auto !important;
}
.tabs-and-actions-container>.monaco-scrollable-element>.tabs-container {
flex-wrap: wrap !important;
flex: 1 1 auto !important;
height: auto !important;
View main.go
package main
import (
"database/sql"
"fmt"
"log"
"math"
"runtime"
"sync"
"time"
View install.bat
@powershell -NoProfile -ExecutionPolicy Bypass -File "install.ps1"
pause
View kazaj.js
//==============================================================================
var functions = {},
benchmark,
errors = {
network: 'Ошибка связи, сервер не доступен.'
};
//Ошибка
function error(text)
@z81
z81 / mapgen.js
Created Nov 30, 2017
best ne govnokod mapgen.js
View mapgen.js
const textures = {
none: "░░",
road: "██",
user: "*/"
};
const mapSize = 30;
const locations = [
{
name: "Глеdvбоиния"
@z81
z81 / .neutrinorc.js
Created Aug 7, 2017
My neutrinojs confi, neutrino 6.1.5, scss, es6 decorators, class-properties, react
View .neutrinorc.js
const path = require('path');
const HtmlPlugin = require('html-webpack-plugin');
const loaderMerge = require('neutrino-middleware-loader-merge');
const SRC = path.join(process.cwd(), 'src');
module.exports = {
use: [
"neutrino-preset-react",
({ config, use }) => {
View client.js
import io from 'socket.io-client';
import { parse } from 'graphql';
let socket = null;
let queryId = 0;
const queryResolvers = new Map();
const queryInstancesCache = new Map();
const fragmentsCache = new Map();
const QueryStatus = {
PENDING: 1,
@z81
z81 / CertificateGeneration.sh
Created Mar 18, 2017 — forked from sandfox/CertificateGeneration.sh
TLS certificate inspection example (using nodejs)
View CertificateGeneration.sh
###
#Step 1 - Generate server certificates etc... (most of this code is horribly ripped off from nodejs docs currently -> http://nodejs.org/docs/latest/api/tls.html)
###
#Assuming your starting from a clean directory
mkdir server
cd server
#generate private key
View package.json
// ...
"scripts": {
"build": "neo build --config webpack.prod.js",
"start": "neo start --port 3001 --config webpack.dev.js",
// ...
}
// ...
View gist:8006dcba9493427160e8e58e26e266d9
#EXTM3U
#EXTINF:-1,7 ТВ
http://176.100.73.33:81/udp/239.1.1.98:1234
#EXTINF:-1,Мой мир
http://176.100.73.33:81/udp/239.1.1.122:1234
#EXTINF:-1,РТ ДОК
http://176.100.73.33:81/udp/239.1.1.194:1234
#EXTINF:-1,ЦАРЬГРАД
http://176.100.73.33:81/udp/239.1.1.198:1234
#EXTINF:-1,ПИК ТВ
You can’t perform that action at this time.