Skip to content

Instantly share code, notes, and snippets.

@korchix
korchix / google_drive_util.py
Created Jun 28, 2020 — forked from macieksk/google_drive_util.py
A simple Python module to upload files to Google Drive file upload. Needs a file 'client_secrets.json' in the directory . The file can be obtained from https://console.developers.google.com/ -- under APIs&Auth/Credentials/Create Client ID for native application
View google_drive_util.py
## Simple Python module to upload files to Google Drive
# Needs a file 'client_secrets.json' in the directory
# The file can be obtained from https://console.developers.google.com/
# under APIs&Auth/Credentials/Create Client ID for native application
# To test usage:
# import google_drive_util
# google_drive_util.login()
# google_drive_util.test()
@korchix
korchix / mbox2gg.py
Last active May 21, 2020 — forked from pecigonzalo/mbox2gg.py
mbox to Google Groups
View mbox2gg.py
# Python3 Ready
#---------------------------------
# use the command:
# pip install --upgrade oauth2client
# if there is problem with the oauth2client
#---------------------------------
#! /usr/bin/env python
@korchix
korchix / toggle light - dark.dart
Created Jan 29, 2020
light / dark toggel + neumorphism
View toggle light - dark.dart
// copied from https://github.com/createdbymitch/tutorialsoftui/blob/master/lib/main.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@korchix
korchix / neumorphism icon 2.dart
Created Jan 29, 2020
simple neumorphism icon 2
View neumorphism icon 2.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:payment_app/constants.dart';
void main() {
return runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@korchix
korchix / neumorphism Icon 1.dart
Last active Jan 29, 2020
neumorphism Icon with Click invert
View neumorphism Icon 1.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:payment_app/constants.dart';
void main() {
//SystemChrome.setEnabledSystemUIOverlays([]);
return runApp(MyApp());
}
class MyApp extends StatelessWidget {
View youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs