Skip to content

Instantly share code, notes, and snippets.

@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@AkselA
AkselA / Lyd fra Internett.m3u8
Last active April 19, 2024 09:46
Diverse URL'er for å strømme internettradio
#EXTM3U
#EXTINF:-1,Resonance FM -
http://stream.resonance.fm:8000/resonance
#EXTINF:-1,NRK P1 -
http://lyd.nrk.no/nrk_radio_p1_ostlandssendingen_mp3_h
#EXTINF:-1,NRK P1+ -
http://lyd.nrk.no/nrk_radio_p1pluss_mp3_h.m3u
#EXTINF:-1,NRK P2 -
http://lyd.nrk.no/nrk_radio_p2_mp3_h
#EXTINF:-1,NRK P3 -
@devjin0617
devjin0617 / .manifest
Created May 19, 2017 15:15
chrome extension using a content script to access the `window` object
{
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["inject.js"],
"all_frames": true
}
],
"web_accessible_resources": [
"content.js"
@varyonic
varyonic / Dockerfile
Created June 10, 2016 14:14
Dockerfile with chromedriver
# See https://codeship.com/documentation/docker/browser-testing/
FROM myapp:base
# We need wget to set up the PPA and xvfb to have a virtual screen and unzip to install the Chromedriver
RUN apt-get install -y wget xvfb unzip
# Set up the Chrome PPA
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
@zeburek
zeburek / api.md
Last active April 19, 2024 09:42
Чек-лист проверок API

Чек-лист API тестов

  • Корректность структуры данных
  • POST запросы
    • Заполнены все поля валидными данными
    • Заполнены только обязательные поля
    • Заполнены не все обязательные поля
    • Не заполнено ни одно поле
    • Валидация данных в полях (корректные и некорректные данные)
    • Пустой JSON
  • Дата создания объекта
@ScientificStephen
ScientificStephen / index.html
Created April 19, 2024 09:41
Javascript Calculator 1
<div class="container">
<div class="calculator">
<div id="display" class="readout" ></div>
<div class="keypad">
<div class="clears">
<button id="clear">C</button>
<button id="all-clear">AC</button>
<button id="back">&#8592;</button>
</div>
<div class="functions">
@mbostock
mbostock / .block
Last active April 19, 2024 09:41 — forked from mbostock/.block
Radial Cluster Dendrogram
license: gpl-3.0
height: 950
border: no
@ScientificStephen
ScientificStephen / index.html
Created April 19, 2024 09:41
Markdown Previewer
<div id="wrapper">
<div id="leftPanel">
<div class="panelTitle">Input</div>
<textarea id="editor"># H1 Heading
## H2 Sub-heading
[Link to Google](https://google.com)
Here is some `inline code`.
@mrmartineau
mrmartineau / stimulus.md
Last active April 19, 2024 09:41
Stimulus cheatsheet