Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 23:11
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser! If you absolutely need to use browser instead of desktop app, use an extension to add the string Electron/ anywhere in your user-agent.

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
@qpwo
qpwo / monte_carlo_tree_search.py
Last active April 26, 2024 23:11
Monte Carlo tree search (MCTS) minimal implementation in Python 3, with a tic-tac-toe example gameplay
"""
A minimal implementation of Monte Carlo tree search (MCTS) in Python 3
Luke Harold Miles, July 2019, Public Domain Dedication
See also https://en.wikipedia.org/wiki/Monte_Carlo_tree_search
https://gist.github.com/qpwo/c538c6f73727e254fdc7fab81024f6e1
"""
from abc import ABC, abstractmethod
from collections import defaultdict
import math

Front-end Roadmap

İlk olarak ingilizce

Arkadaşlar, merhaba, ilk olarak 2000 adet ingilizce kelimeyi ezberlemiz gerekiyor. Bu kelimeleri ezberlerken de "Friends" dizisini önce Türkçe alt yazı ile, ardından tüm sezonları bitirdikten sonra ingilizce alt yazı ile baştan izlemenizi rica ediyorum. Bu size kulak aşinalığı cümlelerin gramer yapısı vs gibi şeyleri öğrenmenize yardımcı olacak.

Bu videolar bittikten sonra sizlere neler yapacağınız bir kaç video sonra anlatıcam ama önce bu videolar bitsin arkadaşlar, öncesinde MUTLAKA film gibi izleyin. Ertesi gün videodakileri uygulayarak yapın. İnanın daha "tanıdık" gelecek. Sakın ilk seferde direk yapmayın :) 

Peki neden vuejs ? Reactjs kullanıcı düşerken Vuejs kullanıcı sayısı arttı o yüzden.

@FirehawkV21
FirehawkV21 / rpg_core.js
Last active April 26, 2024 23:08
Optimized Core (Requires Pixi.js 4.8.9)
//=============================================================================
// rpg_core.js v1.6.2
//=============================================================================
//-----------------------------------------------------------------------------
/**
* This is not a class, but contains some methods that will be added to the
* standard Javascript objects.
*
* @class JsExtensions
// ==UserScript==
// @name userChromeJS Manager
// @include main
// @author xiaoxiaoflood
// @onlyonce
// ==/UserScript==
// original: https://github.com/alice0775/userChrome.js/blob/master/rebuild_userChrome.uc.xul
(function () {
@juliandescottes
juliandescottes / gist:d04ceceb03fbbe0164a3
Last active April 26, 2024 23:04
Sort on string keys
var people = [
{name : "Zoe", age : 20},
{name : "Alicia", age : 18},
{name : "John", age : 22}
];
people.sort(function (p1, p2) {
return p1.name.localeCompare(p2.name);
});
@juliandescottes
juliandescottes / gist:7f95e3056a035fe308c9
Created May 11, 2015 20:59
Mozilla locales are in /toolkit (even devtools ones)
eg \toolkit\locales\en-US\chrome\global\devtools\styleinspector.properties