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
/*! | |
* \file gtk_entry_insert_text_comment.c | |
* \brief | |
* | |
* The algorithms here will work as long as the text size (a | |
* multiple of 2), fits into a guint16. We specify a shorter | |
* maximum length so that if the user pastes a very long text, there | |
* is not a long hang from the slow X_LOCALE functions. | |
*/ |
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
/*! | |
* \file | |
* \brief | |
*/ | |
#include <gtk/gtk.h> | |
/*! |
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
char * trim_space(char *str) { | |
char *end; | |
/* skip leading whitespace */ | |
while (isspace(*str)) { | |
str = str + 1; | |
} | |
/* remove trailing whitespace */ | |
end = str + strlen(str) - 1; | |
while (end > str && isspace(*end)) { | |
end = end - 1; |
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 file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
Most active GitHub users (git.io/top)
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers
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
var hash = function(s) { | |
/* Simple hash function. */ | |
var a = 1, c = 0, h, o; | |
if (s) { | |
a = 0; | |
/*jshint plusplus:false bitwise:false*/ | |
for (h = s.length - 1; h >= 0; h--) { | |
o = s.charCodeAt(h); | |
a = (a<<6&268435455) + o + (o<<14); | |
c = a & 266338304; |
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
the | |
of | |
to | |
and | |
a | |
in | |
is | |
it | |
you | |
that |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE xkbConfigRegistry SYSTEM "xkb.dtd"> | |
<xkbConfigRegistry version="1.1"> | |
<modelList> | |
<model> | |
<configItem> | |
<name>pc101</name> | |
<description>Generic 101-key PC</description> | |
<vendor>Generic</vendor> | |
</configItem> |
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 | |
# Things to do after install ArchLinux (2012.12.01) | |
pacman --noconfirm -S sudo | |
# Enabled archlinuxfr repo | |
arch=$(uname -m) | |
sudo cp /etc/pacman.conf /etc/pacman.conf.bak | |
echo "" >> /etc/pacman.conf | |
echo "[archlinuxfr]" >> /etc/pacman.conf |
OlderNewer