Skip to content

Instantly share code, notes, and snippets.

View almazmusic's full-sized avatar

Dmytro Shapoval almazmusic

  • Ukraine
  • 23:27 (UTC +03:00)
View GitHub Profile
@justsml
justsml / fetch-api-examples.md
Last active August 20, 2024 19:31
JavaScript Fetch API Examples
@cdw
cdw / .pyradio
Last active March 5, 2024 00:04
List of radio streams
# Find lots more stations at http://www.iheard.com
KING: Classical, http://classicalking.streamguys1.com/king-fm-mp3
KING: Evergreen, http://classicalking.streamguys1.com/evergreen-mp3-96k
KEXP, http://live-mp3-128.kexp.org/
KNKX, http://live.wostreaming.net/direct/ppm-knkxfmmp3-ibc1
KNKX: Jazz24, http://live.wostreaming.net/direct/ppm-jazz24mp3-ibc1
KUOW, http://playerservices.streamtheworld.com/pls/KUOWFM_HIGH_MP3.pls
Bluemars, http://streams.echoesofbluemars.org:8000/bluemars.m3u
Cryosleep, http://streams.echoesofbluemars.org:8000/cryosleep.m3u
Voices Within, http://streams.echoesofbluemars.org:8000/voicesfromwithin.m3u
@recca0120
recca0120 / Facebook.js
Created June 22, 2017 05:10
Facebook Promise Wrapper
'use strict';
export class Facebook {
getScript() {
return new Promise((resolve) => {
if (window.FB) {
resolve(window.FB);
}
const id = 'facebook-jssdk';
@samjarman
samjarman / messaging.js
Created February 19, 2017 06:10
Example of basic JS messaging for Chrome extensions
// In the extension JS
chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { // Fetch the current tab
chrome.tabs.sendMessage(tabs[0].id, {message: "preach", preachText: usrMessage});
});
// In the context script
chrome.runtime.onMessage.addListener(
function(request, sender, sendResponse) {
if (request.message == "preach"){ // Filter out other messages
alert(request.preachText, 5000);
@matheusagcosta
matheusagcosta / podbot.md
Last active December 25, 2022 11:58
Podbot Counter Strike 1.6 on Mac OSX

1 - Make sure you have Counter Strike installed

2 - Download YAPB http://forums.bots-united.com/showthread.php?t=9986

3 - Extract the zip and move the folder addons with all the content to ~/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike

4 - After that, open the file liblist.gam in the folder above and replace gamedll_osx "dlls/cs.dylib" with this content:

//gamedll_osx "dlls/cs.dylib"
@ourmaninamsterdam
ourmaninamsterdam / LICENSE
Last active September 16, 2024 12:30
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active September 17, 2024 13:07
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k