Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#define WIDTH 6
void output(int value, int depth) {
if (depth == 0)
return;
output(value >> 1, depth-1);
printf("%d", value & 1);
}
temp.c:5:13: warning: length modifier 'I64' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat]
scanf("%I64d", &a);
~^~~~
temp.c:5:20: warning: format specifies type '__int64 *' (aka 'long long *') but the argument has type 'int *' [-Wformat]
scanf("%I64d", &a);
~~~~~ ^~
%d
abootimg-git 20130104-2
acpi 1.7-1
acpid 2.0.23-4
aliedit 1.0.3.20-2
alsa-utils 1.0.29-1
android-sdk r24.1.2-1
android-sdk-platform-tools r22-2
android-udev r142-1
arandr 0.1.7.1-3
arch-install-scripts 15-1
archey3 0.5-3
bash 4.3.033-1
bash-completion 2.1-5
bzip2 1.0.6-5
coreutils 8.23-1
diffutils 3.3-2
e2fsprogs 1.42.12-2
file 5.22-1
filesystem 2015.02-1
findutils 4.4.2-6
HOST: https://bluepaste.herokuapp.com
# Special Case
I'd like to an array whose member is limited to special object but this object should not be fixed.
# Some Resource [/]
## Result not perfect [GET]
class Rule
if: (@condition) -> @
and: (condition) ->
@andCondition = new Rule()
@andCondition.if condition
or: (condition) ->
@orCondition = new Rule()
@orCondition.if condition
@huiyiqun
huiyiqun / macvlan.md
Created November 4, 2015 13:41
读macvlan代码的心得(为了给macvlan添加multicast支持)

Macvlan 内核代码阅读备忘

暂时没有博客,就放到这里了。

Macvlan和Macvtap的关系

Macvtap的代码没有去深读,从代码头上的注释来看,macvtap主要是在macvlan的基础上封装了一个char设备,维护一个队列,因此网络相关的主要逻辑应该在macvlan里。

Macvlan的数据结构里的逻辑关系(主要看macvlan_common_newlink)

+--------------------------------------------------------------------------------------------------------------------------+

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Use embedded bitmaps in fonts like Calibri? -->
<match target="font" >
<test qual="all" name="family" compare="not_eq">
<string>Noto Color Emoji</string>
</test>
<edit name="embeddedbitmap" mode="assign">
import csv
import requests
import itertools
from netaddr import cidr_merge, iprange_to_cidrs
from ipaddress import (summarize_address_range,
collapse_addresses, IPv4Address)
class AddressBlock(object):
def __init__(self, country_code):
$ ldd /usr/lib/netease-cloud-music/netease-cloud-music
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/netease-cloud-music/netease-cloud-music)
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libQt5Gui.so.5: version `Qt_5' not found (required by /usr/lib/libQt5X11Extras.so.5)
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libQt5Core.so.5: version `Qt_5.7' not found (required by /usr/lib/libQt5X11Extras.so.5)
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libQt5Core.so.5: version `Qt_5' not found (required by /usr/lib/libQt5X11Extras.so.5)
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libQt5Gui.so.5: version `Qt_5' not found (required by /usr/lib/libQt5Multimedia.so.5)
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libQt5Network.so.5: version `Qt_5' not found (required by /usr/lib/libQt5Multimedia.so.5)
/usr/lib/netease-cloud-music/netease-cloud-music: /usr/lib/libQt