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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
#enable colours | |
set -g default-terminal "xterm-256color" | |
#add ` as prefix | |
set-option -g prefix2 ` | |
# double tap ` to get a real ` | |
bind ` send-keys ` | |
# split panes using | and - |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
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 discord | |
from discord.ext import commands | |
from bs4 import BeautifulSoup | |
import re | |
import requests | |
import logging | |
""" | |
LOGGING | |
""" |
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
ALTER TABLE `convert_apps` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `sw` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `app_key` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `name` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `db_driver` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `db_host` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `db_user` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `db_pass` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `convert_apps` MODIFY `db_db` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; |
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
<?php | |
/** | |
* @brief Converter phpBB Class | |
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a> | |
* @copyright (c) 2001 - 2016 Invision Power Services, Inc. | |
* @package IPS Community Suite | |
* @subpackage Converter | |
* @since 21 Jan 2015 | |
*/ |
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/python | |
# -*- coding: utf-8 -*- | |
import ftfy | |
import codecs | |
f = codecs.open('php3_db.sql', 'r', 'utf-8') | |
lineNo = 0 | |
for line in f: | |
outline = line |
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/python | |
# -*- coding: utf-8 -*- | |
import codecs | |
import re | |
f = codecs.open('ips_posts.sql', 'r', 'utf-8') | |
lineNo = 0 | |
_ESCAPE_RE = re.compile('[&<>"]') |
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
Private Sub CommandButton1_Click() | |
Dim EmbeddedFileName As String | |
Dim obj As OLEObject | |
' Loop through all our OLE Objects to find the one we want. | |
For Each obj In OLEObjects | |
' If it's our success sound... | |
If InStr(obj.Name, "sound_success") <> 0 Then | |
' We try to grab the embedded file name. We call this twice. | |
EmbeddedFileName = Module1.GetOLETempPath(obj) ' Once to create the file | |
EmbeddedFileName = Module1.GetOLETempPath(obj) ' Then to grab the filename |
NewerOlder