-
Keywords
-
Typos
-
Stemming
-
Stopword ignore
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
| require! <[ watchify browserify gulp ]> | |
| require! 'vinyl-source-stream': source | |
| require! 'vinyl-buffer': buffer | |
| require! 'gulp-util': gutil | |
| require! 'liveify' | |
| gulp.task \bundle !-> | |
| bundler = watchify browserify {} <<< watchify.args <<< | |
| entries: ['./src/index.ls'] | |
| debug: true |
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
| #!/bin/bash | |
| # Pull this file down, make it executable and run it with sudo | |
| # wget https://gist.githubusercontent.com/rlander/7db38d57166f55c06fcf/raw/b4edf4c6fd39c604392a96ce6ff21953ff941e51/build-erlang-17.sh | |
| # chmod u+x build-erlang-17.sh | |
| # sudo ./build-erlang-17.sh | |
| if [ $(id -u) != "0" ]; then | |
| echo "You must be the superuser to run this script" >&2 | |
| exit 1 |
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
| -module(date_util). | |
| -compile(export_all). | |
| epoch() -> | |
| now_to_seconds(now()) | |
| . | |
| epoch_hires() -> | |
| now_to_seconds_hires(now()) | |
| . |
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
| -module(get_feed_srv). | |
| -behaviour(gen_server). | |
| -define(SERVER, ?MODULE). | |
| %% ------------------------------------------------------------------ | |
| %% API Function Exports | |
| %% ------------------------------------------------------------------ | |
| %%-export([start_link/0, get_feed/1, process_redirect/1, process_response/1]). | |
| -export([start_link/0, get_feed/1]). |
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
| -module(web_utils). | |
| -include ("beehive.hrl"). | |
| -include ("http.hrl"). | |
| -compile (export_all). | |
| % Private | |
| convert_to_struct(RawData) -> | |
| lists:map(fun({BinKey, BinVal}) -> | |
| Key = misc_utils:to_atom(BinKey), | |
| Val = misc_utils:to_list(BinVal), |
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
| -module(twitter_stream). | |
| -author("[email protected]"). | |
| %% Depends on: | |
| %% ibrowse for http | |
| %% couchbeam for couchbeam_json_stream (a fork of damienkatz json_stream_parse) | |
| %% mochiweb for mochiweb_util:urlencode | |
| -export([start/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
| -module(timetop). | |
| -export([top/2]). | |
| top(Duration, Count) -> | |
| OldPrio = erlang:process_flag(priority, high), | |
| Result = scheduled_time_top(Duration), | |
| erlang:process_flag(priority, OldPrio), | |
| lists:sublist(Result, Count). |
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
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/clojure:lein-2.7.1 | |
| environment: | |
| - CC_TEST_REPORTER_ID=....set in project settings.... | |
| steps: |
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
| # ------------------------------------------------------------------------------ | |
| # tlp - Parameters for power saving | |
| # See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html | |
| # dir: /etc/default/tlp | |
| # Hint: some features are disabled by default, remove the leading # to enable | |
| # them. | |
| # Set to 0 to disable, 1 to enable TLP. |