Skip to content

Instantly share code, notes, and snippets.

View grobx's full-sized avatar
🗝️
\x -> x

Giuseppe Roberti grobx

🗝️
\x -> x
View GitHub Profile
# Retreive current external IP address from Akamai server
MY_IP=$(curl -s http://whatismyip.akamai.com/)
# Check
LAST_IP=$(cat last_ip.txt)
[[ "${MY_IP}" == "${LAST_IP}" ]] && echo "IP is not changed. Exiting ..." && exit
# Save IP
echo $MY_IP > last_ip.txt
❯ guix pull -c16 -M8
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 8306d3e (52 new commits)...
Building from this channel:
guix https://git.savannah.gnu.org/git/guix.git 8306d3e
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
building /gnu/store/0cc63i3mqaw7m9311pddfkkm7qxr2i0z-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... -
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
(use-modules
(gnu packages guile-xyz)
(guix transformations))
(define with-emacs-next-pgtk
(options->transformation
'((with-input . "emacs=emacs-next-pgtk"))))
(concatenate-manifests (list
(package->development-manifest (with-emacs-next-pgtk guile-studio))))
(use-modules
(gnu packages guile-xyz)
(guix transformations)
(some packages))
(define with-emacs-next-pgtk
(options->transformation
'((with-input . "emacs=emacs-next-pgtk")
(without-tests . "emacs-all-the-icons"))))
@grobx
grobx / boost.sh
Created January 27, 2016 21:56 — forked from JanX2/boost.sh
Boost build script for iOS (armv7, armv7s, arm64), iOS Simulator (i386, x86_64), and OSX (i386, x86_64)
#===============================================================================
# Filename: boost.sh
# Author: Pete Goodliffe
# Copyright: (c) Copyright 2009 Pete Goodliffe
# Licence: Please feel free to use this, with attribution
# Modified version
#===============================================================================
#
# Builds a Boost framework for iOS, iOS Simulator, and OSX.
# Creates a set of universal libraries that can be used on an iOS and in the