- Keka
- KeyCastr
- Alfred
- OmniDiskSweeper
- Poedit
- OpenKey
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
# Path to your oh-my-zsh configuration. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
#export ZSH_THEME="robbyrussell" | |
export ZSH_THEME="random" |
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
from typing import List, Dict | |
import logging | |
import json | |
import urllib.request | |
import streamlit as st | |
# Get an instance of a logger | |
logger = logging.getLogger(__name__) | |
# Change this json to your file |
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
<!-- | |
@Author: Nhan Nguyen | |
@Description: The library iframetracker is good, but because the script to generate iframe is asynchronous, | |
so we can't setup $(document).ready() work properly. | |
The solution is combined: | |
- Track by tagName is IFRAME for the first click | |
- Then, track by iframeTracker for nth times click | |
--> | |
<!-- https://github.com/vincepare/iframeTracker-jquery --> |
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
//this is an example of background animation from my weather comparsion app | |
//you can get early build of app at http://zowni.com | |
//full source of background.js below | |
const React = require('react'); | |
const Svg = React.createFactory(require('react-native-svg').Svg); | |
const {interpolate} = require('d3-interpolate'); | |
//... | |
/** |
From Meteor's documentation:
In Meteor, your server code runs in a single thread per request, not in the asynchronous callback style typical of Node. We find the linear execution model a better fit for the typical server code in a Meteor application.
This guide serves as a mini-tour of tools, trix and patterns that can be used to run async code in Meteor.
Sometimes we need to run async code in Meteor.methods
. For this we create a Future
to block until the async code has finished. This pattern can be seen all over Meteor's own codebase:
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 | |
$t = isset($_GET['t']) ? $_GET['t'] : null; | |
$org = '此のファイル test.php'; | |
$fn = array( | |
'A: UTF-8 Raw' => 'Content-Disposition: attachment; filename="' . $org . '"', | |
'B: UTF-8 URL Encoded' => 'Content-Disposition: attachment; filename="' . rawurlencode($org) . '"', | |
'C: UTF-8 Base64 Encoded' => 'Content-Disposition: attachment; filename="=?utf-8?B?' . base64_encode($org). '?="', | |
'D: RFC 2231' => 'Content-Disposition: attachment; filename*=UTF-8\'\'' . rawurlencode($org), |
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
Finalmente, agora eu tenho tudo quase perfeito com o Sublime, só me falta mesmo é um Outline para fechar de vez. | |
Segue relação dos plugins que estou utilizando com o Sublime, bem como minhas configurações: | |
O primeiro package a instalar é o Package Control. A partir dele é possível intalar todos os outros pacotes executando Cmd+Shift+P (ou Ctrl para quem usa Linux/Windows), e buscando por "Package Control:Install Package". | |
Para instalar o Package Control, execute as instruções contidas nesta página: | |
https://packagecontrol.io/installation | |
Agora, chame o comando de instalação de pacotes e instale os seguintes pacotes. |
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 | |
public function convert_usable_format($file){ | |
$buf = mb_convert_encoding(file_get_contents($file), "UTF-8", "SJIS-WIN"); | |
$buf = str_replace(array("\r\n", "\n", "\r"), "m9(^v^)", $buf); | |
$buf = str_replace("m9(^v^)", "\r\n", $buf); | |
$handle = tmpfile(); | |
fwrite($handle, $buf); | |
rewind($handle); |
-
#####Clone repo
git clone --recursive https://github.com/ushahidi/Lamu
-
#####Initialize/Update submodules
git submodule update --init --recursive
-
#####Use composer to install dependencies You can get composer here
- Open cmd and cd to the Ushahidi v3 directory
- run
composer install
NewerOlder