Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <setjmp.h> | |
| jmp_buf env; | |
| char *buffer = NULL; | |
| void funcao_que_aloca(void) { | |
| buffer = malloc(64); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {%- set image_count = namespace(value=0) %} | |
| {%- set video_count = namespace(value=0) %} | |
| {%- macro render_content(content, do_vision_count, is_system_content=false) %} | |
| {%- if content is string %} | |
| {{- content }} | |
| {%- elif content is iterable and content is not mapping %} | |
| {%- for item in content %} | |
| {%- if 'image' in item or 'image_url' in item or item.type == 'image' %} | |
| {%- if is_system_content %} | |
| {{- raise_exception('System message cannot contain images.') }} |
afplay is a command-line audio player built into macOS. You give it a file and it plays it, with no window and no controls. It stops when the file ends or when you kill it.
afplay -h
# -v, --volume VOLUME volume. 1 is normal, 0.5 is quieter
# -t, --time TIME only play the first TIME seconds
# -r, --rate RATE playback speed. 1.5 is 50% faster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==================================================================== */ | |
| /* STEPHANE TUFFERY | |
| /* MODELISATION PREDICTIVE ET APPRENTISSAGE STATISTIQUE AVEC R | |
| /* ==================================================================== */ | |
| # --------------------------------------------------------------------------------------------------------- | |
| # Installation des packages | |
| # --------------------------------------------------------------------------------------------------------- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- First, you need to open cmd in the admin mode, then run all commands below one by one.
- For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -------------------------------------------------------------- | |
| # operationSwitcher.py | |
| # Version: 2.0.0 | |
| # Last Updated: August 23rd, 2018 | |
| # Thanks to Falk Hofmann for making improvements! | |
| # -------------------------------------------------------------- | |
| # -------------------------------------------------------------- | |
| # USAGE: |
