Skip to content

Instantly share code, notes, and snippets.

@sibelius
sibelius / woovi_job.md
Last active August 31, 2024 16:18
Woovi Job Description
@jeffque
jeffque / java-path.md
Last active July 8, 2024 19:05
Caminhos para começar a dominar o Java

Alguns passos a seguir rumo a dominação do Java:

  • Faz um CRUD Java
  • Faz um cli Java
  • Aprende a fazer um package Java
  • Aprende a consumir um package Java
  • Aprende a configurar e atualizar packages
  • Aprende a deploiar Java
  • Aprende a consumir requests usando Java
  • Aprende a usar databases no Java
@antlionguard
antlionguard / twitter-remove-likes.js
Last active April 17, 2024 23:06
With this script, you can remove all likes you are liked on Twitter.
const timer = ms => new Promise(res => setTimeout(res, ms));
setInterval(async () =>
{
const tweetsLikeButtonList = document.querySelectorAll('div[data-testid="unlike"]');
console.log('****// ' + tweetsLikeButtonList.length + 'Like Found! //****')
for (const button of tweetsLikeButtonList) {
button.scrollIntoView();
await button.click();
console.log('****// Unliked //****');
@tobiaslins
tobiaslins / worker.js
Last active July 30, 2024 20:11
Notion Custom Domain using Cloudflare Workers + Splitbee Analytics
const MY_DOMAIN = "help.splitbee.io"
const START_PAGE = "https://www.notion.so/splitbee/Help-Center-bbf26e2b70574901b9c98e5d11e449de"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
@tedz2usa
tedz2usa / Installing SML-NJ on Ubuntu 18.04
Last active April 8, 2024 13:37
Installing SML-NJ on Ubuntu 18.04
Installation Tips for SML/NJ on Ubuntu 18.04
Ted Zhu
First, follow the steps outlined in the SML/NJ installation instructions for Unix:
http://smlnj.org/install/
The final step,
$ config/install.sh
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active October 18, 2024 16:41
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@ashander
ashander / unfavorite.js
Last active August 22, 2024 16:25
Delete all your favorites (unfavorite or unlike every tweet) on twitter.com (thx to @JamieMason and @b44rd for inspiring this)
// 1. Go to https://twitter.com/i/likes
// 2. Keep scrolling to the bottom repeatedly until all your favs are loaded.
// 3. Run this in your console (open in chrome by View > Developer > JavaScript Console)
// Notes: this may take a while if you have a lot of favs/likes
// you can only access your most recent ~2000 likes.
// inspired by https://gist.github.com/JamieMason/7580315
$('.ProfileTweet-actionButtonUndo').click()
@parkr
parkr / in-your-console.js
Last active August 22, 2024 16:26
delete your tweets and un-retweet tweets
// go to https://twitter.com/your-username, and enter the following into the developer console:
for(var i = 1; i < 500; i++){ // just do it a bunch
// Un retweet
document.getElementsByClassName("ProfileTweet-actionButtonUndo")[i].click();
document.getElementsByClassName("js-close")[0].click();
// Delete tweets
document.getElementsByClassName("js-actionDelete")[i].childNodes[1].click();
document.getElementsByClassName("delete-action")[0].click()
}