This command can be applied to anything run on cli, for example bash script and python script.
There are two ways to run process in the background, nohup
and &
(ampersand).
Deleting the .git folder may cause problems in your git repository. If you want to delete all your commit history but keep the code in its current state, it is very safe to do it as in the following: | |
Checkout | |
git checkout --orphan latest_branch | |
Add all the files | |
git add -A |
import frida | |
import sys | |
import codecs | |
def on_message(message, data): | |
if message['type'] == 'send': | |
print(message['payload']) | |
elif message['type'] == 'error': | |
print(message['stack']) | |
else: | |
print(message) |
const Queue = require('./queue'); | |
class Node { | |
constructor(data) { | |
this.data = data | |
this.left = null | |
this.right = null | |
} | |
} |
class Node { | |
constructor(data) { | |
this.data = data | |
this.left = null | |
this.right = null | |
} | |
} | |
function depthFirstTraversal(root) { | |
if (!root) return [] |
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |
List of services which are giving access to Tor network and especially Tor hidden services
via web interface. We keep track of potential injection or abuse from such service (the column Scam
).
Url | Status | Domain | Log | Techno | Scam |
---|---|---|---|---|---|
https://onion.re/ | UP | onion.re | full | custom | no |
// | |
export class UnExpectedError extends Error { | |
public code: number; | |
public status: number; | |
public constructor( | |
stack?: string, | |
) { | |
super('Unexpected Error') | |
this.name = this.constructor.name |
You can pass md5sum multiple filenames or bash expansions: | |
$ md5sum * > checklist.chk # generates a list of checksums for any file that matches * | |
$ md5sum -c checklist.chk # runs through the list to check them | |
cron: OK | |
database.sqlite3: OK | |
fabfile.py: OK | |
fabfile.pyc: OK | |
manage.py: OK | |
nginx.conf: OK |
import * as promiseLimit from 'promise-limit' | |
class Service { | |
static async task(numv: number){ | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
if(numv === 5){ | |
reject('Nani!!') | |
} | |
resolve(numv) |