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
<div class="snow" count="7000"></div> |
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
#!/usr/bin/env bash | |
SEL=$(xsel -o) | |
T="$(/usr/local/bin/trans -l es -o /tmp/output -theme=none :es "$SEL")" #echo "Translation:" "$T" >> /tmp/ | |
ansi2html /tmp/output | |
#yad --html --title="Google translate and definition" --width=450 --height=300 --center --text=/tmp/output | |
# notify-send "$T" | |
#yad --info --title="Translation" --text="$T" | |
zenity --text-info --title="Google diccionary and translator" --filename=/tmp/output | |
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
You need edit /usr/share/X11/xkb/symbols/pc | |
replace by this code: | |
default partial alphanumeric_keys modifier_keys | |
xkb_symbols "pc105" { | |
key <ESC> { [ Escape ] }; |
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
using Gtk; | |
int main (string[] args) { | |
Gtk.init (ref args); | |
var window = new Window (); | |
window.title = "Unidockynapse Post-install Setup"; | |
window.border_width = 10; | |
window.window_position = WindowPosition.CENTER; | |
window.set_default_size (350,140); | |
window.destroy.connect (Gtk.main_quit); |
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 | |
sudo rm -fr /opt/pc4 | |
sudo rm -fr /usr/share/applications/pc4.desktop | |
# create installation dir | |
sudo mkdir -p /opt/pc4 | |
#install pc4 | |
wget -qO- https://github.com/PopcornTimeCommunity/desktop/releases/download/v0.4.0-2/popcorn-time-community-v0.4.0-2-64bit.tar.xz | sudo tar xJf - -C /opt/pc4 |
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
If you have this error: Unknown SSL error -12218 mapped to net::ERR_SSL_PROTOCOL_ERROR | |
and your upwork client does not run you need: | |
sudo apt-get install libnss3=2:3.15.4-1ubuntu7 libnss3-nssdb=2:3.15.4-1ubuntu7 | |
sudo apt-mark hold libnss3 libnss3-nssdb | |
Solution provided by Ilya E from upwork. |
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
// | |
// Copyright (C) 2012 Tom Beckmann, Rico Tzschichholz | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// | |
// This program is distributed in the hope that it will be useful, | |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
/* | |
* Copyright (C) 2012 Tom Beckmann | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
/* | |
A small wrapper utility to load indicators and put them as menu items | |
into the gnome-panel using it's applet interface. | |
Copyright 2009 Canonical Ltd. | |
Authors: | |
Ted Gould <ted@canonical.com> | |
Christoph Korn <c_korn@gmx.de> |
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
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5) | |
PROJECT(lmms) | |
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ${CMAKE_MODULE_PATH}) | |
IF(COMMAND CMAKE_POLICY) | |
CMAKE_POLICY(SET CMP0005 NEW) | |
CMAKE_POLICY(SET CMP0003 NEW) | |
ENDIF(COMMAND CMAKE_POLICY) |