install packages first:
yay -S xl2tpd strongswan networkmanager-l2tp
ref: https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
{ | |
// miscellaneous | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"diffEditor.ignoreTrimWhitespace": false, | |
// window | |
"window.title": "🦙⚡🫡 – ${activeEditorShort}${separator}${rootName} – 🫡⚡🦙", | |
"window.clickThroughInactive": false, |
install packages first:
yay -S xl2tpd strongswan networkmanager-l2tp
ref: https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
English manual for the ZUOYA GMK67 Mechanical Keyboard. Made from the printed version (Original).
#!/bin/bash | |
# | |
# script to extract ImageNet dataset | |
# ILSVRC2012_img_train.tar (about 138 GB) | |
# ILSVRC2012_img_val.tar (about 6.3 GB) | |
# make sure ILSVRC2012_img_train.tar & ILSVRC2012_img_val.tar in your current directory | |
# | |
# https://github.com/facebook/fb.resnet.torch/blob/master/INSTALL.md | |
# | |
# train/ |
""" | |
修正微软拼音输入法无法添加多个格式化自定义短语的问题 | |
Author: Scruel Tao | |
""" | |
import os | |
import re | |
import pathlib | |
import traceback | |
from pathlib import Path |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
/* | |
the twitter api is stupid. it is stupid and bad and expensive. hence, this. | |
Literally just paste this in the JS console on the bookmarks tab and the script will automatically scroll to the bottom of your bookmarks and keep a track of them as it goes. | |
When finished, it downloads a JSON file containing the raw text content of every bookmark. | |
for now it stores just the text inside the tweet itself, but if you're reading this why don't you go ahead and try to also store other information (author, tweetLink, pictures, everything). come on. do it. please? | |
*/ |
import json | |
import os | |
import time | |
import webbrowser | |
import sys | |
import re | |
def handleWindows(extra_seconds): | |
print("OS : Windows") |
import 'dart:developer'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
class FlutterSwitch extends StatefulWidget { | |
final bool value; | |
final ValueChanged<bool> onChanged; | |
final Duration duration; | |
final Color? activeColor; |
""" | |
This is an adaptable example script for using selenium across multiple webbrowsers simultaneously. This makes use of | |
two queues - one to store idle webworkers and another to store data to pass to any idle webworkers in a selenium function | |
""" | |
from multiprocessing import Queue, cpu_count | |
from threading import Thread | |
from selenium import webdriver | |
from time import sleep | |
from numpy.random import randint |