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
lsof -wni tcp:3000 | |
kill -9 <pid> |
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
Show hidden characters
{ | |
"binary_file_patterns": | |
[ | |
"generated/*", | |
"*.tbz2", | |
"*.gzip", | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", |
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
-----> Node.js app detected | |
-----> Creating runtime environment | |
NPM_CONFIG_LOGLEVEL=error | |
NODE_ENV=production | |
NODE_MODULES_CACHE=true | |
NODE_VERBOSE=false | |
-----> Installing binaries |
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
import { networkTraversal } from '/scripts/networkTraversal.js'; | |
export async function main(ns) { | |
let home = ns.getHostname(); | |
networkTraversal(ns, home, home, crackAndHack); | |
} | |
function crackAndHack(ns, targetServer, originServer) { | |
if (!ns.hasRootAccess(targetServer) && hackableServer(ns, targetServer)) { | |
crackServer(ns, targetServer); |
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
body { | |
background-color: rgba(255, 0, 0, 100); | |
} |
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
# frozen_string_literal: true | |
# In a many-to-many relationship, when setting values using | |
# ids, and nested_attributes, if the attributes come first, | |
# they are overriden by the ids. If the ids come first, the | |
# attributes are included too! | |
require "bundler/inline" | |
gemfile(true) do | |
source "https://rubygems.org" |
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
class Game | |
attr_gtk | |
def tick | |
defaults | |
render | |
input | |
calc | |
end |
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
# ZggkdvW9k9kkLFCl3g0 | |
print "what's 5x5?" | |
print "25" | |
# PulgaMechanica | |
print "Hi Chael, what u up to?" | |
ptiny "LI am celebtaying my 2nd streamiversary! Folks may remember when I reviewed the Kinesis on stream, and I did a blindfolded Q&A while I was learning touch-tuping!" | |
# JonSugar | |
print "chael, is Ruby dead?" |
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
// The function is curried, so we can skip a or b | |
const add = curry((a, b) => a + b); | |
// These functions use a curried function, so you can skip an argument | |
const increment = add(1); | |
const addTen = add(10); | |
// The function is now called because the second argument is supplied | |
addTen(5); // returns 15 | |
increment(3); // returns 4 |
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
Removing network casa_default | |
Network casa_default not found. | |
Removing volume casa_db_data | |
Volume casa_db_data not found. | |
########################### | |
BEGIN: docker-compose build | |
########################### | |
database uses an image, skipping | |
selenium_chrome uses an image, skipping | |
Building web |
OlderNewer