π¬
This file contains hidden or 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
| // ==UserScript== | |
| // @name Laftel collapsible comments | |
| // @name:ko-KR λΌνν λκΈ μ κΈ° | |
| // @description Make Laftel comments collapsible | |
| // @description:ko-KR λΌνν μνΌμλμμ λκΈμ μ κ³ νΌμΉ μ μκ² μμ ν©λλ€ | |
| // @namespace https://laftel.net/ | |
| // @match https://laftel.net/* | |
| // @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@2 | |
| // @grant none | |
| // @icon https://static.laftel.net/favicon.ico |
This file contains hidden or 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
| name: lint | |
| on: | |
| pull_request: | |
| push: | |
| branches-ignore: | |
| - gh-pages | |
| jobs: | |
| gdlint: |
This file contains hidden or 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
| # Untap AdoptOpenJDK first | |
| brew untap AdoptOpenJDK/openjdk | |
| # If you want to download latest version | |
| brew install --cask temurin | |
| # To install specific version | |
| brew tap homebrew/cask-versions | |
| brew install --cask temurin8 temurin11 |
This file contains hidden or 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 time | |
| import urllib.request | |
| from selenium.webdriver.chrome.options import Options | |
| from selenium import webdriver | |
| VIEWER_PATH = "http://webtoon.daum.net/webtoon/viewer/" | |
This file contains hidden or 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
| Text π 2h24m βββββββββββββββββββ 48.3% | |
| Kotlin π 1h36m βββββββββββββββββββ 32.1% | |
| HTTP Request π 18m βββββββββββββββββββ 6.3% | |
| Lua π 12m βββββββββββββββββββ 4.2% | |
| Other π 10m βββββββββββββββββββ 3.6% |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <string.h> | |
| int main() { | |
| char prefix[100]; | |
| snprintf(prefix, sizeof(prefix), "%s-%s", "main-for","abc"); | |
| printf("%s\n", prefix); | |
| return 0; | |
| } |
This file contains hidden or 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
| # python3 | |
| import magneturi | |
| TORRENT_FILE_NAME = 'ubuntu-16.04.3-desktop-amd64.iso.torrent' | |
| def main(): | |
| print(magneturi.from_torrent_file(TORRENT_FILE_NAME)) | |
| if __name__ == '__main__': | |
| main() |
This file contains hidden or 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
| /* declaration and option settings */ | |
| %{ | |
| void addWord(char *text); | |
| void addNewLine(void); | |
| void addChar(void); | |
| int chars = 0; | |
| int words = 0; | |
| int lines = 0; | |
| %} |
This file contains hidden or 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
| # parser for this problem (https://www.acmicpc.net/problem/9987) | |
| import requests | |
| from bs4 import BeautifulSoup | |
| if __name__ == "__main__": | |
| url = "http://web.archive.org/web/20140301191716/http://pokemondb.net/pokedex/national" | |
| soup = BeautifulSoup(requests.get(url).text, 'lxml') | |
| list = soup.find_all('span', {'class': 'infocard-tall '}) | |
| db = [] |
NewerOlder