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
// ... | |
function _createAuction() internal { | |
uint256 nounId; | |
// Check if the auction contract itself has any Noun tokens | |
uint256 auctionContractNounCount = nouns.balanceOf(address(this)); | |
if (auctionContractNounCount > 0) { | |
// Use the first Noun token found in the auction contract | |
nounId = nouns.tokenOfOwnerByIndex(address(this), 0); |
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
function getTextDirection(text) { | |
// Regular expression to match RTL Unicode characters | |
var rtlChars = /[\u0600-\u06FF\u0750-\u077F\u0590-\u05FF\u08A0-\u08FF\uFB50-\uFDCF\uFDF0-\uFDFF\uFE70-\uFEFF]/; | |
// Regular expression to match LTR Unicode characters | |
var ltrChars = /[\u0000-\u05FF\u0700-\u08FF\uFB00-\uFB4F\uFB50-\uFDFF\uFE70-\uFEFF]/; | |
// Count the number of RTL and LTR characters in the text | |
var rtlCount = (text.match(rtlChars) || []).length; | |
var ltrCount = (text.match(ltrChars) || []).length; |
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
I am attesting that this GitHub handle nekofar is linked to the Tezos account tz1fUwbK3ucKVK7CKP1NKV5rAeFqa9dXKTPA for tzprofiles | |
sig:edsigtbSqvp8STDf1eHQHtdpSb5cdX3zzJCrSPiWKqGk8JRDEWbPdWz3osEHWUF5LVuMe5HUp89LJQzTbe4zk6EdfLwdC9xDmfd |
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/bash | |
# Sync Homebrew installations between Macs via Dropbox | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* |
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
{ | |
"1.1.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.1/ZipArchive.framework.zip", | |
"1.2.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.2/ZipArchive.framework.zip", | |
"1.3.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.3/ZipArchive.framework.zip", | |
"1.4.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.4/ZipArchive.framework.zip", | |
"1.5.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.5/ZipArchive.framework.zip", | |
"1.6.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.6/ZipArchive.framework.zip", | |
"1.6.1":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.6.1/ZipArchive.framework.zip", | |
"1.6.2":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.6.2/ZipArchive.framework.zip", | |
"1.7.0":"https://github.com/ZipArchive/ZipArchive/releases/download/v1.7/ZipArchive.framework.zip", |
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/bash | |
## | |
# Pure BASH interactive CLI/TUI menu (single and multi-select/checkboxes) | |
# | |
# Author: Markus Geiger <[email protected]> | |
# Last revised 2019-09-11 | |
# | |
# ATTENTION! TO BE REFACTORED! FIRST DRAFT! | |
# |
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
{ | |
"5.3.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.3.0/FacebookSDK_Static.zip", | |
"5.4.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.4.0/FacebookSDK_Static.zip", | |
"5.4.1": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.4.1/FacebookSDK_Static.zip", | |
"5.5.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.5.0/FacebookSDK_Static.zip", | |
"5.6.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.6.0/FacebookSDK_Static.zip", | |
"5.7.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.7.0/FacebookSDK_Static.zip", | |
"5.8.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.8.0/FacebookSDK_Static.zip", | |
"5.9.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.9.0/FacebookSDK_Static.zip", | |
"5.10.0": "https://github.com/facebook/facebook-ios-sdk/releases/download/v5.10.0/FacebookSDK_Static.zip", |
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
package main | |
import ( | |
"log" | |
"regexp" | |
"github.com/dghubble/go-twitter/twitter" | |
"github.com/dghubble/oauth1" | |
) |
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
.rtl #avia_options_page .avia_sidebar_active .avia_options_page_content { | |
border-left: none; | |
left: auto; | |
border-right: 1px solid #e1e1e1; | |
right: -1px; | |
} | |
.rtl #avia_options_page .avia_sidebar_active .avia_options_page_sidebar { | |
border-right: none; | |
border-left: 1px solid #e5e5e5; |
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 twitter | |
# Twitter username | |
SCREEN_NAME = 'VVVVVVVV' | |
# Consumer API keys | |
CONSUMER_KEY = 'WWWWWWWW' | |
CONSUMER_SECRET = 'XXXXXXXX' | |
# Access token & access token secret |
NewerOlder