Skip to content

Instantly share code, notes, and snippets.

{
// Enable auto completion of module imports
"auto_complete_imports": true,
// Enable auto completion of LANGUAGE pragmas
"auto_complete_language_pragmas": true,
// Enable auto build project on save
"enable_auto_build": false,

= Package cardano-sl-wallet =

== Section library == Unused import

  • Pos.Wallet.Web.Methods.Logic
    • Pos.Wallet.Aeson
  • Pos.Wallet.Web.Sockets.Connection
    • Pos.Wallet.Aeson

== Section test:cardano-wallet-test ==

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import os, subprocess
# Regex to detect [//]-style comments:
# \[\/\/\]: (?:# )?(?:\((.*)\)|([^(].*[^)]))
def process_pandoc(in_path, out_path):
with open(in_path, 'r') as f:
lines = f.readlines()
if not lines:
@dniku
dniku / stack-version.txt
Created June 7, 2017 20:34
stack --version
$ stack --version
Version 1.3.2 x86_64
Compiled with:
- Cabal-1.24.0.0
- Glob-0.7.14
- HUnit-1.5.0.0
- MonadRandom-0.5.1
- QuickCheck-2.9.2
- SHA-1.6.4.2
- StateVar-1.1.0.4
@dniku
dniku / log.txt
Created June 7, 2017 20:20
stack install cabal-helper
$ stack install cabal-helper --verbose
Version 1.3.2 x86_64
Compiled with:
- Cabal-1.24.0.0
- Glob-0.7.14
- HUnit-1.5.0.0
- MonadRandom-0.5.1
- QuickCheck-2.9.2
- SHA-1.6.4.2
- StateVar-1.1.0.4
{
"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Compile with compile-time checks only",
# stylish-haskell configuration file
# ==================================
# The stylish-haskell tool is mainly configured by specifying steps. These steps
# are a list, so they have an order, and one specific step may appear more than
# once (if needed). Each file is processed by these steps in the given order.
steps:
# Convert some ASCII sequences to their Unicode equivalents. This is disabled
# by default.
# - unicode_syntax:
use Gtk2 '-init';
use Gtk2::Unique;
my $window = Gtk2::Window->new('toplevel');
my $app = Gtk2::UniqueApp->new(
"org.shit-got-loose", undef,
select => 1,
nothing => 2,
);
@dniku
dniku / shutter.diff
Last active December 13, 2016 23:05
@@ -442,12 +443,14 @@
#set export filename
}
elsif ( $cmd eq 'exfilename' ) {
- $sc->set_export_filename( $message->get_text );
+ my $arg = defined $message->get ? $message->get_text : "";
+ $sc->set_export_filename( $arg );
#set delay
}