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
<?php | |
function convert($size) | |
{ | |
$unit=array('b','kb','mb','gb','tb','pb'); | |
return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i]; | |
} | |
convert(memory_get_usage()); |
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
<table> | |
<tr id="id29" class=""> | |
<td id="2429_onvolledig"></td> | |
<td class="agenda-time"></td> | |
<td class="agenda-details"> | |
<span class="agenda-class">DKW002-G0.41A - AVD - XADMEDAVD1</span> | |
<br> | |
<span class="agenda-teacher">resw867</span> | |
</td> |
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
# Fetch all packages for <owner>/<repository name> | |
# | |
# Example: $name: "eloquent-viewable", owner: "cyrildewit" | |
query($name: <repository name>, $owner: <owner>) { | |
repository(name: $name, owner: $owner) { | |
id | |
name | |
registryPackages(first: 10) { | |
nodes { | |
versions(first: 10) { |