Please refer to (This repository)[https://github.com/voxain/resource-vault] for the updated version of this list!
If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:
- We define variables with
let
andconst
statements. For the purposes of the React documentation, you can consider them equivalent tovar
. - We use the
class
keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value ofthis
in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav
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
""" | |
Password brute-force algorithm. | |
List of most probable passwords and english names can be found, respectively, at: | |
- https://github.com/danielmiessler/SecLists/blob/master/Passwords/probable-v2-top12000.txt | |
- https://github.com/dominictarr/random-name/blob/master/middle-names.txt | |
Author: Raphael Vallat | |
Date: May 2018 | |
Python 3 |
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
import React, {Component} from 'react' | |
import { TextField, Dialog } from 'rmwc'; | |
class Login extends Component { | |
state = {email: "", password: ""} | |
handleChange = (val) => (evt) => { this.setState( {...this.state, [val]: evt.target.value} ) } | |
loginForm = () => { | |
return ( | |
<div> |
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
import discord | |
from discord.ext import commands | |
import sys, traceback | |
"""This is a multi file example showcasing many features of the command extension and the use of cogs. | |
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic | |
understanding and platform for creating your own bot. | |
These examples make use of Python 3.6.2 and the rewrite version on the lib. |
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
--------- beginning of main | |
07-27 08:04:14.192 15 15 I : debuggerd: starting | |
--------- beginning of system | |
07-27 08:04:14.195 16 16 I vold : Vold 3.0 (the awakening) firing up | |
07-27 08:04:14.195 16 16 V vold : Detected support for: ext4 vfat | |
07-27 08:04:14.196 16 16 E vold : Failed to open default fstab /fstab.goldfish: Operation not permitted | |
07-27 08:04:14.196 16 16 E vold : Error reading configuration... continuing anyways: Operation not permitted | |
07-27 08:04:14.202 16 26 D vold : e4crypt_init_user0 | |
07-27 08:04:14.202 16 26 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1 | |
07-27 08:04:14.202 16 26 D vold : Preparing: /data/system/users/0 |
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
Canidae | |
Felidae | |
Cat | |
Cattle | |
Dog | |
Donkey | |
Goat | |
Guinea pig | |
Horse | |
Pig |
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
# If you don't remember the exact path/name, search the log for deleted files | |
git log --diff-filter=D --summary | grep delete | |
# Find the file you want to get from the ouput, and use the path | |
# Find the commits that involved that path | |
git log --all -- some/path/to/deleted.file | |
# Bring the file back to life to the current repo (sha commit of parent of commit that deleted) | |
git checkout shaofthecommitthatdeletedthefile^ -- some/path/to/deleted.file |
NewerOlder