pip install PyGitHub
You may want to use pip3 instead of pip.
| # | |
| # Sample configuration file for the Samba suite for Debian GNU/Linux. | |
| # | |
| # | |
| # This is the main Samba configuration file. You should read the | |
| # smb.conf(5) manual page in order to understand the options listed | |
| # here. Samba has a huge number of configurable options most of which | |
| # are not shown in this example | |
| # | |
| # Some options that are often worth tuning have been included as |
| div, span { | |
| box-sizing: border-box; | |
| position: relative; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: stretch; | |
| flex-shrink: 0; | |
| align-content: flex-start; |
| // ---- loading a font | |
| static void load_font(void) | |
| { | |
| hb_blob_t *blob; | |
| hb_face_t *face; | |
| size_t filelen = 0; | |
| void *filedata = stb_file("c:/windows/fonts/arial.ttf", &filelen); | |
| if (filedata == 0) stbpg_fatal("Couldn't load font"); |
| #!/bin/bash | |
| # Tom Hale, 2016. MIT Licence. | |
| # Print out 256 colours, with each number printed in its corresponding colour | |
| # See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163 | |
| set -eu # Fail on errors or undeclared variables | |
| printable_colours=256 |
| # Dont forget to set the env variable "certdomain", and either fill in your email below or use an env variable for that too. | |
| # Also note that this config is using the LetsEncrypt staging server, remove the flag when ready! | |
| Resources: | |
| sslSecurityGroupIngress: | |
| Type: AWS::EC2::SecurityGroupIngress | |
| Properties: | |
| GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]} | |
| IpProtocol: tcp | |
| ToPort: 443 |
PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.
sudo apt-get install texlive-latex-base
RDBMS-based job queues have been criticized recently for being unable to handle heavy loads. And they deserve it, to some extent, because the queries used to safely lock a job have been pretty hairy. SELECT FOR UPDATE followed by an UPDATE works fine at first, but then you add more workers, and each is trying to SELECT FOR UPDATE the same row (and maybe throwing NOWAIT in there, then catching the errors and retrying), and things slow down.
On top of that, they have to actually update the row to mark it as locked, so the rest of your workers are sitting there waiting while one of them propagates its lock to disk (and the disks of however many servers you're replicating to). QueueClassic got some mileage out of the novel idea of randomly picking a row near the front of the queue to lock, but I can't still seem to get more than an an extra few hundred jobs per second out of it under heavy load.
So, many developers have started going straight t