-
Docker Link
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo groupadd docker sudo usermod -aG docker $USER
Docker Link
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo groupadd docker
sudo usermod -aG docker $USER
Ces scripts permettent de vider le flux d'activité d'un compte twitter : RT, likes, tweets.
Those scripts will flush your twitter activity feed : likes, RT, tweets...
Ces scripts ne fonctionnent que pour twitter en langue anglaise. (https://twitter.com/settings/language)
Those scripts only work for twitter in english.
| #!/bin/bash | |
| npm install -D eslint prettier | |
| npm install -D eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react babel-eslint | |
| npm install -D eslint-config-prettier eslint-plugin-prettier | |
| > ".eslintrc.js" | |
| echo 'module.exports = { |
| version: "2" | |
| services: | |
| plex: | |
| image: linuxserver/plex:latest | |
| network_mode: host | |
| volumes: | |
| - ./plex_config:/config | |
| - ./plex_transcode:/transcode | |
| - /media/wdusb/movies:/movies |
| var deleteall = async function() { | |
| // The position of the "Delete" menuitem is +1 on search pages | |
| position = 0 + document.location.toString().includes("search?q=") | |
| console.log("Undoing Retweets") | |
| // Keep iterating until there's no retweet to do | |
| while (retweet = document.querySelector('[data-testid="unretweet"]')) { | |
| console.log(retweet) | |
| retweet.click(); | |
| // Sleep a bit to make sure the confirm prompt appeared | |
| await new Promise(r => setTimeout(r, 1000)); |
| // delete tweets. | |
| [].slice.call(document.getElementsByClassName('js-actionDelete')).map(tweet => { | |
| tweet.childNodes[1].click() | |
| document.getElementsByClassName('delete-action')[0].click() | |
| }) | |
| // un-retweet. | |
| [].slice.call(document.getElementsByClassName('ProfileTweet-actionButtonUndo')).map(retweet => { | |
| retweet.click() | |
| document.getElementsByClassName("js-close")[0].click() |
#Angular-cli oh shit!
https://cli.angular.io/reference.pdf
| Commands | Description |
|---|---|
| ng help | returns all commands with flags they can take as a param |
| ng new [project-name] | create a brand new angular project with live server BANG! |
| ng init | grabs name from folder that already exist |
| /** | |
| * For Ember < 2.4 | |
| */ | |
| this.get('container').lookup('router:main').router.state; | |
| /** | |
| * For Ember > 2.4 | |
| */ | |
| import Ember from 'ember'; | |
| const { getOwner } = Ember; |
Note: these are pretty rough notes I made for my team on the fly as I was reading through some pages. Some could be mildly inaccurate but hopefully not terribly so. I might resort to convenient fiction & simplification sometimes.
My top contenders, mostly based on popularity / community etc:
Mostly about MVC (or derivatives, MVP / MVVM).