Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
""" | |
A simple Mandlebrot explorer in Kivy! Drag mouse to translate, multitouch-zoom to zoom, and scroll to increase/decrease number of iterations. | |
""" | |
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.uix.effectwidget import AdvancedEffectBase | |
from kivy.lang import Builder | |
from kivy.vector import Vector | |
SHADER = """ |
# Sample Nginx config with sane caching settings for modern web development | |
# | |
# Motivation: | |
# Modern web development often happens with developer tools open, e. g. the Chrome Dev Tools. | |
# These tools automatically deactivate all sorts of caching for you, so you always have a fresh | |
# and juicy version of your assets available. | |
# At some point, however, you want to show your work to testers, your boss or your client. | |
# After you implemented and deployed their feedback, they reload the testing page – and report | |
# the exact same issues as before! What happened? Of course, they did not have developer tools | |
# open, and of course, they did not empty their caches before navigating to your site. |
// | |
// SDLUIKitDelegate+KivyAppDelegate.h | |
// | |
// Created by attakei on 2014/11/05. | |
// | |
// | |
// modify for your SDL header's path. | |
#import "../src/SDL/src/video/uikit/SDL_uikitappdelegate.h" |
from kivy.app import App | |
from kivy.graphics.fbo import Fbo | |
from kivy.uix.widget import Widget | |
from kivy.graphics import Color, Rectangle, GraphicException | |
from kivy.clock import Clock | |
from kivy.graphics.texture import Texture | |
from kivy.properties import ObjectProperty | |
####CEF IMPORT #### | |
#### |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
#include <stdio.h> | |
#include <android/log.h> | |
#include "calvals.h" | |
#define EXPORT __attribute__((visibility("default"))) | |
#define LOG_TAG "native" | |
#define log_info(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) | |
#define log_error(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |