This file contains 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
[Notz Private List] | |
! Version: 202409131018 | |
! Title: Notz Private List | |
! Expires: 1 days (update frequency) | |
! Homepage: https://github.com/notz/ | |
! | |
!-----------------------Allowlists to fix broken sites------------------------! | |
@@||imagesrv.adition.com/js/srp.js | |
@@||imagesrv.adition.com/js/aut.js |
This file contains 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
SET @NewSchema := "www-staging-1"; | |
SET @OldSchema := "www"; | |
SELECT CONCAT("DROP TABLE IF EXISTS `", @NewSchema, "`.`", table_name, "`;\nCREATE TABLE `", @NewSchema, "`.`",table_name, "` LIKE `", TABLE_SCHEMA , "`.`", table_name, "`;\nINSERT INTO `",@NewSchema, "`.`", table_name, "` SELECT * FROM `", TABLE_SCHEMA , "`.`", table_name, "`;") | |
AS `sql` FROM information_schema.TABLES WHERE TABLE_SCHEMA = @OldSchema AND TABLE_TYPE != "VIEW"; |
This file contains 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
KUBECONFIG=~/.kube/config:~/downloads/kubeconfig.yml kubectl config view --flatten > ~/.kube/config |
This file contains 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
curl https://patch-diff.githubusercontent.com/raw/sonyxperiadev/kernel/pull/1522.patch | git am |
This file contains 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/local/bin/python3.5 | |
# -*- coding: utf-8 -*- | |
from nslocalized import StringTable | |
import glob | |
import re | |
def merge(source, destination): | |
try: | |
st = StringTable.read(source) |
This file contains 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/perl -w | |
# | |
# | |
# SYNTAX: | |
my $usage = qq{ | |
submit_sms_websms | |
Copyright (C) 2003-2015 Opsview Limited. All rights reserved | |
Usage: submit_sms_websms -a access_token [-s Opsview] [-t alphanumeric] [-m num] [-n] | |
Options: |
This file contains 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 com.hazelcast.client.HazelcastClient; | |
import com.hazelcast.client.config.ClientConfig; | |
import com.hazelcast.config.Config; | |
import com.hazelcast.config.GroupConfig; | |
import com.hazelcast.config.MapConfig; | |
import com.hazelcast.config.NearCacheConfig; | |
import com.hazelcast.core.*; | |
import java.util.concurrent.atomic.AtomicInteger; |
This file contains 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
#!/bin/sh | |
# | |
# init.d script with LSB support. | |
# | |
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |