Skip to content

Instantly share code, notes, and snippets.

View kanishkkunal's full-sized avatar
👨‍💻
Making things..

Kanishk Kunal kanishkkunal

👨‍💻
Making things..
View GitHub Profile
@kanishkkunal
kanishkkunal / Full Screen Background Image.markdown
Created January 26, 2016 15:12
Full Screen Background Image
@kanishkkunal
kanishkkunal / custom-font-in-xaml.xaml
Created January 6, 2014 15:43
How to use custom fonts in Windows Phone and Windows Store apps
<TextBlock Text="{Binding}" FontFamily="/Assets/Fonts/elegant_ink.ttf#Elegant Ink"/>
@kanishkkunal
kanishkkunal / custom-font-in-cs.cs
Last active January 2, 2016 09:39
How to use custom fonts in Windows Phone and Windows Store apps
textBlock.FontFamily = new FontFamily("/Assets/Fonts/elegant_ink.ttf#Elegant Ink");
; Start a new pool named 'www'.
; the variable $pool can we used in any directive and will be replaced by the
; pool name ('www' here)
[www]
; Per pool prefix
; It only applies on the following directives:
; - 'slowlog'
; - 'listen' (unixsocket)
; - 'chroot'
user www-data;
worker_processes 1;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
@kanishkkunal
kanishkkunal / gist:5561037
Created May 11, 2013 19:11
Showing formatted text in a TextBlock in Windows Phone apps
<TextBlock TextWrapping="Wrap" Margin="12">
<TextBlock.Inlines>
<Run FontWeight="Light" Text="Normal Text"/>
<Run Foreground="Aqua" Text=" Highlighted Text"/>
<Run FontWeight="Bold" Text=" Bold text"/>
<Run FontWeight="Light" Text=" Normal Text"/>
</TextBlock.Inlines>
</TextBlock>