Skip to content

Instantly share code, notes, and snippets.

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
{
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 / ps2pdf.py
Last active December 16, 2017 12:44
Windows ps2pdf path via Python All Files In Current Dir
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()
@ugurozturk
ugurozturk / randomnumbers.cs
Created January 20, 2018 09:28
Gets random number lists to file
using System;
using System.Collections.Generic;
using System.IO;
namespace cekilis
{
class Program
{
static void Main(string[] args)
{
@ugurozturk
ugurozturk / gist:9712ba6ce6f076d93aa4d88e101e1c2b
Created January 15, 2023 17:09 — forked from 0oneo/gist:72c7120ffd411a8a314b3db37b37216a
get all magnet links from a web page
$("a[href*='magnet']").map(function() {return this.href}).get().join("\n")
@ugurozturk
ugurozturk / ublock-origin-filter-avoided-sites.txt
Last active April 8, 2024 08:12
Additional filters for uBlock Origin
! 2021-04-10 https://adonisfansub.com
adonisfansub.com###tdepfsvmu-blanket > div
adonisfansub.com###tdepfsvmu-blanket
ppcnt.eu
! 2021-08-24 https://mangafast.net
mangafast.net##.follow
ampproject.org