Skip to content

Instantly share code, notes, and snippets.

print "hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world "
@upgradeQ
upgradeQ / temporary-email-address-domains
Created June 28, 2017 21:44 — forked from adamloving/temporary-email-address-domains
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com
@upgradeQ
upgradeQ / free_email_provider_domains.txt
Created June 28, 2017 21:45 — forked from tbrianjones/free_email_provider_domains.txt
A list of free email provider domains. Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
1033edge.com
11mail.com
123.com
123box.net
123india.com
123mail.cl
123qwe.co.uk
150ml.com
15meg4free.com
163.com
^([5-9]\d|[1-9]\d{2,})$
I've found a way to use pc like an headset with Android phone (for making callings).
!!! I've use pulseaudio from jessie-backports: I don't know how much this takes risks ;-) !!!
In /etc/apt/sources.list add:
deb http://ftp.jp.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ jessie-backports main contrib non-free
$ sudo apt-get update
$ sudo apt-get install pulseaudio=7.1-2~bpo8+1 pulseaudio-utils=7.1-2~bpo8+1 \
import aiofiles
import asyncio
async def red():
print('where did lost ')
async with aiofiles.open('data.txt', mode='r') as f:
contents = await f.read()
return contents
events = asyncio.get_event_loop()
try:
coro = events.run_until_complete(red())
@upgradeQ
upgradeQ / init.vim
Last active October 11, 2024 12:39
neovim config
call plug#begin()
Plug 'projekt0n/github-nvim-theme'
"---------------------------------------------------------------------------------
Plug 'mbbill/undotree', { 'on': 'UndotreeToggle' }
" requires diff.exe from git
map <F3> :UndotreeToggle<cr>
"---------------------------------------------------------------------------------
Plug 'mhinz/vim-startify',{'on':'Startify'}
nnoremap <F4> :Startify <cr>
"---------------------------------------------------------------------------------
@upgradeQ
upgradeQ / beep.lua
Last active September 19, 2022 13:43
Beep when the replay buffer has fully stopped. [windows]
local obs = obslua
local ffi = require("ffi")
ffi.cdef[[
void Beep(int freq,int dur);
]]
function beep()
ffi.C.Beep(7000,300)
end
@upgradeQ
upgradeQ / print_properties.lua
Last active September 25, 2024 17:56
Double pointers obslua
-- https://obsproject.com/forum/threads/how-to-enumerate-script-properties-in-lua.83406/#post-397381
-- create source with name tmp , then add Color Correction filter named color
local obs = obslua
local ffi = require("ffi")
local obsffi
ffi.cdef[[
struct obs_source;
local obs = obslua
--- name of a scene item
local source_name = ''
--- get the name of the current scene
local function current_scene_name()
local source = obs.obs_frontend_get_current_scene()
local name = obs.obs_source_get_name(source)
obs.obs_source_release(source)