This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| TEST_DATA = False | |
| IGPU_PCI_PREFIX = r"pci-0000_00" | |
| import sys | |
| from traceback import print_exc | |
| import re | |
| from enum import Enum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| struct cleanup_array | |
| { | |
| void (*routine)(void*); | |
| void *arg; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // just throwing shit at the wall | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <limits.h> | |
| #include <libgen.h> | |
| #include <sys/inotify.h> | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <signal.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef _AUTORELOAD_H | |
| #define _AUTORELOAD_H | |
| #include <pthread.h> | |
| #include <sys/inotify.h> | |
| #include <unistd.h> | |
| #include <limits.h> | |
| #include <fcntl.h> | |
| #include <libgen.h> | |
| #include <string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import os | |
| from typing import Union | |
| INDENTION_SIZE = 4 | |
| INDENTION_CHAR = " " | |
| TYPE_TO_STR = { | |
| int: "int", | |
| str: "char*", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name GitHub Red Closed Issues | |
| @namespace GithubRed | |
| @version 1.1.0 | |
| @description Change the GitHub closed Issue color back to red | |
| @license CC-0 | |
| ==/UserStyle== */ | |
| .octicon-issue-closed { | |
| color: var(--color-fg-default) !important; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $re = '/\<\<.*\/Subtype.*\/Image.*\>\>.*stream\n+(.*)\n+endstream/JxisU'; | |
| $arquivo = 'file.pdf'; | |
| $path_parts = pathinfo($arquivo); | |
| $str = file_get_contents($arquivo); | |
| preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pub const c = @cImport({ | |
| @cInclude("gtk/gtk.h"); | |
| }); | |
| pub extern "c" fn gtk_init(*c_int, *[*][*]u8) void; | |
| pub fn gtk_window_new(kind: c_int) [*c]c.GtkWidget { | |
| return c.gtk_window_new(@intToEnum(c.GtkWindowType, kind)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name twitter unhide | |
| // @version 1.2 | |
| // @match https://twitter.com/* | |
| // @run-at document-end | |
| // @grant none | |
| // ==/UserScript== | |
| (function () { | |
| 'use strict'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| profileName: | |
| mods: | |
| - name: AceOfShades-QuickRestart | |
| version: | |
| major: 1 | |
| minor: 3 | |
| patch: 1 | |
| enabled: true | |
| - name: BasilPanda-RemoveAllyCap | |
| version: |