sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev
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
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
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
| # create assets folder in the current project | |
| $ mkdir android/app/src/main/assets | |
| # create bundle script | |
| $ react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
| # execute command to run android to create debug apk | |
| $ react-native run-android | |
| # Or change to android folder |
This file has been truncated, but you can view the full file.
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 snapshotAuxiliaryData = {"lessSourcesByRelativeFilePath":{"static/atom.less":{"content":"// Import from the syntax theme's variables with a fallback to ./variables/syntax-variables.less\n@import \"./variables/syntax-variables\";\n@import \"syntax-variables\";\n\n// Import from the ui theme's variables with a fallback to ./variables/ui-variables.less\n@import \"./variables/ui-variables\";\n@import \"ui-variables\";\n\n// Octicons\n@import \"octicon-utf-codes\";\n@import \"octicon-mixins\";\n@import \"octicons\";\n\n// Normalize + scaffolding\n@import \"normalize\";\n@import \"scaffolding\";\n\n// Core components\n@import \"cursors\";\n@import \"panels\";\n@import \"docks\";\n@import \"panes\";\n@import \"syntax\";\n@import \"text-editor\";\n@import \"title-bar\";\n@import \"workspace-view\";\n\n// Atom UI library\n@import \"../node_modules/atom-ui/atom-ui.less\";\n","digest":"efab0f9ffc43da40c3d8338fc16e191714b58371"},"static/cursors.less":{"content":"@import \"./variables/syntax-variables\";\n@import \"sy |
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
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
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
| module WillPaginate | |
| module ActionView | |
| def will_paginate(collection = nil, options = {}) | |
| options[:renderer] ||= BootstrapLinkRenderer | |
| super.try :html_safe | |
| end | |
| class BootstrapLinkRenderer < LinkRenderer | |
| protected |
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
| // Usage: phantomjs openload.js <video_url> | |
| // if that doesn't work try: phantomjs --ssl-protocol=any openload.js <video_url> | |
| var separator = ' | '; | |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| id, match; | |
| if(system.args.length < 2) { | |
| console.error('No URL provided'); |
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
| # what we want: | |
| # client -> OpenVPN -> Tor -> Internet | |
| # Install & configure OpenVPN | |
| # https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04 | |
| # assumed OpenVPN configuration | |
| # 10.8.0.1/24-Subnet | |
| # tun0-Interface |
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
| user nginx; | |
| # one(1) worker or equal the number of _real_ cpu cores. 4=4 core cpu | |
| worker_processes 4; | |
| # renice workers to reduce priority compared to system processes for | |
| # machine health. worst case nginx will get ~25% system resources at nice=15 | |
| worker_priority -5; |
NewerOlder