- Use appropriate development servers for the project type (e.g., http-server for static sites, webpack-dev-server for JS apps)
- Choose frameworks and libraries based on project requirements and team expertise
- Always confirm with the user before starting any servers or services
- Follow established patterns in the existing codebase
- Prioritize maintainability and readability over clever solutions
/* | |
sample: | |
redirect all https://www.roblox.com/t requests to http://localhost:3000/ | |
redirect all https://www.roblox.com/t requests to http://localhost:3000/ | |
test: | |
curl https://www.roblox.com/ --proxy http://192.168.1.84:8001 | |
curl https://www.yahoo.com/ --proxy http://192.168.1.84:8001 | |
expected response: |
I'm using AnyProxy to block websites on my son's computer. I also use it block safe websites like roblox or youtube, just so he can do his home work... Right now i"m seeting up a proxy with some rules and I go and ssh to turn the proxy on and off... I found this last night at 2am and put it on a gitst, but I'll make it public now.
You simply just use the networksetup
command. You can find the params you need to you this way
networksetup -setwebproxy | grep "setproxy"
networksetup -setwebproxy
we are looking for a seasoned nodejs and linux engineer/leader who can help us take our web technology to the next level of scale
your focus will be to:
- Assure things are being built the right way (reusable code, project/library structure, database schema, authentication flow, unit tests, documentation, patterns, etc)
- Assure best practices are enforced (logging, error messaging, unit testing, etc)
- Assure releases go out on time (deployment process, QA, documentation, communication across departments)
# picked up from stackoverflow | |
UPSTREAM=${1:-'@{u}'} | |
LOCAL=$(git rev-parse @) | |
REMOTE=$(git rev-parse "$UPSTREAM") | |
BASE=$(git merge-base @ "$UPSTREAM") | |
if [ $LOCAL = $REMOTE ]; then | |
echo "Up-to-date" | |
elif [ $LOCAL = $BASE ]; then |
#!/bin/sh | |
git fetch --quiet | |
CHANGES=(`git rev-list HEAD..origin/production --count`) | |
echo $CHANGES | |
# now you can check if the value is higher than 0, if yes, then you can git pull |
/* | |
Some suodo code snippets for superhuman future API | |
To run code: | |
[COMMAND] + K | |
- Connect github repo | |
- View/Edit CRON jobs |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html
# COLLECT / TRAIN | |
from skycatch import drone, ai | |
async def run(): | |
try: | |
collection = | |
await drone.runCollection() | |
await | |
ai.train.labeling_queue(collection.data) | |
except Exception as exc: | |
print('Internal collection ' |
/* | |
IMPEACHMENT SCRIPT | |
Author: The American People with a conscious | |
*/ | |
var candidate = candidates.getLeastQualified() | |
var POTUS = new POTUS(candidate) | |
If(POTUS.name=="trump"){ | |
// send to hell | |
thisIsHell(POTUS); |