netsh wlan set hostednetwork mode=allow ssid="networkname" key="password" keyUsage=persistent
netsh wlan start hostednetwork
netsh wlan stop hostednetwork
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
var slackId = 'U02D0FE5H' | |
var processStyles = str => | |
str.replace(/;/g, '!important;').replace(/\.color/g, '#client-ui .color') | |
window.addEventListener('load', () => { | |
var interval = setInterval(() => { | |
var $myStyle = document.getElementById('color_rule_color_' + slackId) |
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 deleteFiles(types = 'all') { | |
let files = []; | |
function deleteFilesByTypes(types, page = 1) { | |
TS.api.call('files.list', { | |
types, | |
user: boot_data.user_id, | |
page | |
}, (a, data) => { | |
files = [...files, ...data.files]; |
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
# Заливка файлов в ветку gh-pages из произвольной папки и ветки | |
# Команда: gh-pages <branch> <path/to/folder> | |
# Пример: gh-pages master dist | |
gh-pages() { | |
if [[ $1 && $2 ]]; then | |
git checkout gh-pages | |
git checkout $1 -- .gitignore | |
rm -rf `ls | grep -v node_modules` | |
git checkout $1 -- $2 | |
mv $2/* . |
OlderNewer