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
# Maintainer : Kyriakos Brastianos <kyriakosbrastianos @ gmail.com> | |
# Contributor: danyf90 <daniele.formichelli@gmail.com> | |
_pkgname=firefox | |
_channel=nightly | |
_pkgver=54.0a1 | |
pkgname=${_pkgname}-${_channel} | |
pkgver=54.0a1.20170128110338 | |
pkgrel=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
#!/bin/bash | |
# check_links.sh | |
# | |
# Copyright © 2015 Samir Benmendil <chakra@rmz.io> | |
# Copyright © 2011-2012 Manuel Tortosa <manutortosa[at]chakra-project[dot]org> | |
# | |
# 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 2 of the License, or |
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
#include <iostream> | |
#include <cmath> | |
bool isPrime(long n) { | |
long m = (long)sqrt(n); | |
if (m != 2) { | |
while (m > 2){ | |
if(n % m == 0) { | |
return false; | |
} |
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
#include <iostream> | |
#include <cmath> | |
bool isPrime(int n) { | |
int m = (int)std::sqrt(n); | |
if (m != 2) | |
while (m > 2){ | |
if(n % m == 0) | |
return false; | |
else |
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
package Test; | |
import java.util.Scanner; | |
public class Test1 { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
System.out.println("enter a number:"); | |
int a = input.nextInt(); | |
if(a == 2){ |
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
pkgname=ttf-fonts-null | |
pkgver=1000.9999 | |
pkgrel=1 | |
pkgdesc='dummy package' | |
url='file:///' | |
arch=(any) | |
license=('MIT') | |
provides=('xorg-fonts-misc' 'xorg-fonts-cyrillic' 'xorg-fonts-alias' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi' | |
'gsfonts' 'ttf-dejavu' 'oxygen-fonts' 'ttf-oxygen' 'ttf-font' 'cantarell-fonts') | |
conflicts=('xorg-fonts-misc' 'xorg-fonts-cyrillic' 'xorg-fonts-alias' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi' |
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
說了很久要寫Telegram的故事,一直拖延沒有寫。在我拖延的這段時間裡面,Telegarm繼續快速增長,前幾天,在舊金山的TechCrunch Disrupt活動上,創始人Durov說現在Telegram每天發送的消息數已經達到了120億條,而今年2月的時候只有10億條,是時候寫完這個故事了。不過,隨著它的出名,在中國也毫無懸念的變得難以訪問,所以,如果你看完下載了它,又覺得不好連上,程序崩潰什麼的,這並不是Telegram的錯。 | |
每天120億條消息是什麼概念呢?我能找到的Whatsapp最新一次公佈這個數字是今年4月,每天640億條,這可是Facebook以190億美金代價重金收購的App,並且被當作Facebook在移動平台上最好的投資之一。出生在最大的互聯網市場美國,並且有Facebook的全力支持,也只是幾倍於Telegram的規模而已。如果不出意外,未來的某個時候,Telegram會超過Whatsapp。 | |
消息數量和月活躍用戶上,Telegram顯然比Whatsapp和微信還有很大差距。但這是一個只有2年曆史的新工具,並且他是一個完全私人擁有的公司,沒有其他股東,沒有投資人,號稱永遠不會出售,並且,它有著一支人數極少又戰鬥力極強的團隊…這一切都讓這個產品顯得與眾不同。如果要說這個時代的傳奇,Telegram和它的創始人甚至團隊,都完全可以入選。它和人們所知道的各種創業故事、商業傳奇完全不一樣,但又具有傳奇故事的一切要素:黑客高手、政治、極權、陰謀…富豪,一應俱全。 | |
2014年1月24日對於Telegram是個驚喜的里程碑。在這一天,Facebook宣布收購了最流行的即時通訊軟件Whatsapp。在之後的5天裡面,Telegram增加了800萬用戶。究其原因,很多發達國家的用戶對隱私有著更大的擔憂,Whatsapp變成了Facebook這樣大公司的資產,之後必然會發生數據交換,這是對隱私的巨大挑戰。越來越多的數據掌握在大公司手裡,這顯然不是一件讓人放心的事。這時候開始有更多人注意到了Telegram,這個極其註重隱私的工具,並且開始嚐鮮。在那幾天,很多人是第一次知道其創始人Durov兄弟,並且從媒體得知了他們是俄羅斯富豪。以至於Durov不得不在Twitter喊話,說請用戶放心,我們團隊並不在俄羅斯,現在的公司註冊於德國柏林,非常安全。 |
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 | |
#Loacle | |
#export LANG=en_US.UTF-8 | |
#export LANG=en_US.UTF-8 | |
#export LC_CTYPE=en_US.UTF-8 | |
#export MM_CHARSET=utf8 | |
#export GTK_IM_MODULE=hime | |
#export QT_IM_MODULE=hime |
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'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<match target="pattern"> | |
<test name="family" qual="any"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" mode="assign" binding="same"> | |
<string>Fira Mono</string> | |
<string>Source Han Sans HW TC</string> |
NewerOlder