Skip to content

Instantly share code, notes, and snippets.

@ugurozturk
ugurozturk / ublock-origin-filter-avoided-sites.txt
Last active Jun 6, 2020
Additional filters for uBlock Origin
View ublock-origin-filter-avoided-sites.txt
! Long context for just simply answers
sabah.com.tr
sozcu.com.tr
hurriyet.com.tr
www.torrentmafya.org##.ggwoGlnGefJz-bg
www.torrentmafya.org##.ggwoGlnGefJz-default
@ugurozturk
ugurozturk / randomnumbers.cs
Created Jan 20, 2018
Gets random number lists to file
View randomnumbers.cs
using System;
using System.Collections.Generic;
using System.IO;
namespace cekilis
{
class Program
{
static void Main(string[] args)
{
@ugurozturk
ugurozturk / ps2pdf.py
Last active Dec 16, 2017
Windows ps2pdf path via Python All Files In Current Dir
View ps2pdf.py
from subprocess import check_output
import os
files = [f for f in os.listdir('.') if os.path.isfile(f) and f.endswith(".eps")]
for f in files:
veri = check_output("ps2pdf "+ f + " " + f + ".pdf", shell=True).decode()
View xdebug
zend_extension = php_xdebug.dll
xdebug.default_enable = 1
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = localhost
xdebug.remote_port = 9000
@ugurozturk
ugurozturk / .usersettings
Last active Jun 27, 2017
VS Code User Settings
View .usersettings
{
"php.validate.executablePath": "C:\\laragon\\bin\\php\\php-7.1.6-Win32-VC14-x64\\php.exe",
"php.suggest.basic": false,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"editor.snippetSuggestions": "bottom",
"editor.tabCompletion": true,
"editor.renderWhitespace": "boundary",
"editor.cursorStyle": "line",
"files.autoSave": "off",
View MyAnimeList Xml List Filter
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace ConsoleApp2
{
You can’t perform that action at this time.