Skip to content

Instantly share code, notes, and snippets.

user77 abubakarm

Block or report user

Report or block abubakarm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
abubakarm / code128visualbasic.vb
Created Nov 1, 2018
Visual Basic .net code to convert input to Code128 barcode font.
View code128visualbasic.vb
'taken from please visit their website for more information.
'code below is working fine in, original code was older version, before .net days I think.
'imp link
'type characters while declaring variables
'symbol Type Example
'% Integer Dim L%
'& Long Dim M&
'@ Decimal Const W@ = 37.5
abubakarm / gdrive_download.txt
Created Jun 16, 2018
download file from google drive using WGET (for linux console)
View gdrive_download.txt
got the help from this link, good suggestions:
what worked for me:
what I got from google drive (shareable link) was this:
changed it to:
`wget --no-check-certificate '' -O FILENAME`
View py1
herdsize = input("Enter herd size:")
records = {} #initialize record where cow names and data will be stored
minimumdata = {} #record data which is below minimum yield
totaldays = 2
minimumyield = 5 #litres
def Processing():
for i in range(1,totaldays+1):
print("Day " +str(i) +":")
View renaming file names and stuff
//code for renaming (padding) 5 parts file names:
static void Main(string[] args)
//list_none_5_parts(); return;
/* where ever this is , we have lots of files here, in the format
10-001-99-001, the 3rd section, which is 99, can have any number there
but whats imp is that it shud be composed of 3 digit length*/
string[] files = Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory);
View abcd.cs
class mainstructure
public List<c2> results;
public string status;
class c2
public List<address_component> address_components;
public string formatted_address;
You can’t perform that action at this time.